2024-11-02 23:21:51 +00:00
|
|
|
name: wicked-waifus-ps
|
2024-09-12 21:29:40 +00:00
|
|
|
|
|
|
|
services:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-config-server:
|
2024-11-02 23:27:17 +00:00
|
|
|
image: wicked-waifus-config-server:1.4.0-SNAPSHOT
|
2024-09-12 21:29:40 +00:00
|
|
|
depends_on:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres:
|
2024-09-12 21:29:40 +00:00
|
|
|
condition: service_healthy
|
|
|
|
ports:
|
|
|
|
- '10001:10001'
|
|
|
|
volumes:
|
|
|
|
- "./docker/configserver.toml:/app/configserver.toml"
|
|
|
|
- "./assets/config:/app/assets/config"
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-login-server:
|
2024-11-02 23:27:17 +00:00
|
|
|
image: wicked-waifus-login-server:1.4.0-SNAPSHOT
|
2024-09-12 21:29:40 +00:00
|
|
|
depends_on:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres:
|
2024-09-12 21:29:40 +00:00
|
|
|
condition: service_healthy
|
|
|
|
ports:
|
|
|
|
- '5500:5500'
|
|
|
|
volumes:
|
|
|
|
- "./docker/loginserver.toml:/app/loginserver.toml"
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-gateway-server:
|
2024-11-02 23:27:17 +00:00
|
|
|
image: wicked-waifus-gateway-server:1.4.0-SNAPSHOT
|
2024-09-12 21:29:40 +00:00
|
|
|
depends_on:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres:
|
2024-09-12 21:29:40 +00:00
|
|
|
condition: service_healthy
|
|
|
|
ports:
|
|
|
|
# Uncomment this if you want to have manual access
|
|
|
|
# - '10003:10003'
|
|
|
|
- '7777:7777/udp'
|
|
|
|
volumes:
|
|
|
|
- "./docker/gateway.toml:/app/gateway.toml"
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-game-server:
|
2024-11-02 23:27:17 +00:00
|
|
|
image: wicked-waifus-game-server:1.4.0-SNAPSHOT
|
2024-09-12 21:29:40 +00:00
|
|
|
depends_on:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres:
|
2024-09-12 21:29:40 +00:00
|
|
|
condition: service_healthy
|
|
|
|
# Uncomment this if you want to have manual access
|
|
|
|
# ports:
|
|
|
|
# - '10004:10004'
|
|
|
|
volumes:
|
|
|
|
- "./docker/gameserver.toml:/app/gameserver.toml"
|
|
|
|
- "./assets/logic:/app/assets/logic"
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres:
|
2024-09-12 21:29:40 +00:00
|
|
|
image: postgres:16.4-alpine3.20
|
|
|
|
user: postgres
|
|
|
|
# Uncomment this if you want to have manual access
|
2024-10-19 12:57:25 +00:00
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
2024-09-12 21:29:40 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "pg_isready"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
|
|
|
environment:
|
|
|
|
- "POSTGRES_PASSWORD=toor"
|
|
|
|
volumes:
|
|
|
|
- "./docker/postgres/scripts:/docker-entrypoint-initdb.d"
|
2024-11-02 23:21:51 +00:00
|
|
|
- wicked-waifus-postgres-vol:/var/lib/postgresql/data
|
2024-09-12 21:29:40 +00:00
|
|
|
volumes:
|
2024-11-02 23:21:51 +00:00
|
|
|
wicked-waifus-postgres-vol:
|
2024-09-12 21:29:40 +00:00
|
|
|
external: true
|