-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-common.yml
More file actions
72 lines (69 loc) · 1.9 KB
/
docker-compose-common.yml
File metadata and controls
72 lines (69 loc) · 1.9 KB
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
services:
database:
container_name: "database"
image: mariadb:11.8.6
restart: always
env_file: .env
#ports:
# - 3306:3306
volumes:
# Uncomment line below to use on volume
#- ./database/data:/var/lib/mysql
- ./database/conf.d:/etc/mariadb.conf.d:ro
healthcheck:
test: ["CMD-SHELL", "mariadb --user=$${MARIADB_USER} --password=$${MARIADB_PASSWORD} --execute 'SELECT 1;'"]
start_period: 10s
start_interval: 10s
interval: 10s
timeout: 5s
retries: 3
networks:
- backend
wsproxy:
container_name: "wsproxy"
image: wsproxy
restart: always
pull_policy: never
build:
context: ./wsproxy
command: wsproxy -a ragnarok_login:6900,ragnarok_char:6121,ragnarok_map:5121
tty: true
ports:
- 5999:5999
networks:
- backend
robrowser:
container_name: "robrowser"
image: robrowser
restart: always
pull_policy: never
env_file: .env
volumes:
#- ./robrowser/repository:/var/www/localhost/htdocs/
- ./client/AI:/opt/client_files/AI/
- ./client/BGM:/opt/client_files/BGM/
- ./client/data:/opt/client_files/data/
- ./client/System:/opt/client_files/System/
- ./client/resources:/opt/client_files/resources/
build:
context: ./
args:
PACKETVER: ${PACKETVER}
SET_PRERENEWAL: ${SET_PRERENEWAL}
PACKET_OBFUSCATION_KEY1: ${PACKET_OBFUSCATION_KEY1}
PACKET_OBFUSCATION_KEY2: ${PACKET_OBFUSCATION_KEY2}
PACKET_OBFUSCATION_KEY3: ${PACKET_OBFUSCATION_KEY3}
HOST: ${HOST}
dockerfile: ./robrowser/Dockerfile
entrypoint: sh -c "php /var/www/localhost/htdocs/client/tools/convert-encoding.php && httpd && tail -f /dev/null"
tty: true
depends_on:
- wsproxy
ports:
- 80:80
networks:
- backend
- frontend
networks:
backend:
frontend: