This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
77 lines (73 loc) · 2.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
services:
database:
image: postgres
pull_policy: always
shm_size: 128mb # Beschränke Speichernutzung
restart: unless-stopped
container_name: database
volumes:
- ./database/data:/var/lib/postgresql/data
ports:
- 5432:5432/tcp
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_DB=${POSTGRES_DB}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
palworld:
image: thijsvanloef/palworld-server-docker
pull_policy: always
restart: unless-stopped
container_name: palworld
volumes:
- ./palworld:/palworld
ports:
- ${PALWORLD_PORT}:${PALWORLD_PORT}/udp
- 27015:27015/udp
- 25575:25575/tcp
environment:
- PORT=${PALWORLD_PORT}
- MULTITHREADING=true
- COMMUNITY=${PALWORLD_COMMUNITY}
- ADMIN_PASSWORD=${PALWORLD_ADMIN_PASSWORD}
- AUTO_UPDATE_ENABLED=true
- DISABLE_GENERATE_SETTINGS=true
- DELETE_OLD_BACKUPS=true
- OLD_BACKUP_DAYS=7
clonehero:
build:
context: ./
dockerfile: ./clonehero/Dockerfile
pull_policy: always
restart: unless-stopped
container_name: clonehero
ports:
- ${CLONEHERO_PORT}:${CLONEHERO_PORT}/udp
web:
build:
context: ./
dockerfile: ./web/Dockerfile
depends_on:
database:
condition: service_healthy
pull_policy: build
restart: unless-stopped
container_name: web
ports:
- 3000:3000/tcp
healthcheck:
test: "curl -f web:3000"
nginx:
build:
context: ./
dockerfile: ./nginx/Dockerfile
depends_on:
web:
condition: service_healthy
pull_policy: build
restart: unless-stopped
container_name: nginx
ports:
- 80:80/tcp
- 443:443/tcp