-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
36 lines (33 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3'
services:
pw-front:
build:
context: ./pw-front-svelte
args:
- PUBLIC_SERVER_URL=<server-url>:3030/ # todo: automatically get server url
- PUBLIC_PALDEX_API_URL=<server-url>:3080/ # todo: automatically get server url
environment: # warning: for build environment, use .env.docker in ./pw-front-svelte/
- PUBLIC_SERVER_URL=<server-url>:3030/ # todo: automatically get server url
- PUBLIC_PALDEX_API_URL=<server-url>:3080/ # todo: automatically get server url
ports:
- "3020:3000"
pw-back:
build:
context: ./pw-back
environment:
- PORT=3030
- ROOT_DIR=/home/srv/palworld
- PAL_DIR=/home/srv/palworld/game/Pal
- SERVER_ID=0
- WORLD_GUID=F37D14B248EFAFC63FB56E8E65671166
- PYTHON_RUNTIME=python3
volumes:
- /home/xiq/srv/palworld:/home/srv/palworld
ports:
- "3030:3030"
palworld-paldex-api:
build:
context: https://github.com/mlg404/palworld-paldex-api.git#v1.3.0
dockerfile: Dockerfile
ports:
- "3080:3000" # Change the host port to the desired port