-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
71 lines (65 loc) · 1.76 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
version: "3.8"
services:
training-platform:
image: training-platform:latest
build: ./training-platform/
environment:
- DISPLAY=${DISPLAY}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- platform-data:/data
network_mode: host
community-platform:
image: community-platform:latest
build: ./community-platform/
environment:
- DISPLAY=${DISPLAY}
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- platform-data:/data
ports:
- "5900:5900"
community-server:
image: community-server:latest
build: ./community-server/
environment:
- PLT_VERSION=8.3.24.1368
volumes:
- onecdb-server-data:/var/1C
ports:
- "1540-1541:1540-1541"
- "1560-1561:1560-1561"
network_mode: host
postgres-1c:
image: postgres-1c:latest
build: ./postgres-1c/
environment:
- PG_VERSION=${PG_VERSION:-1c-16}
- PG_PORT=${PG_PORT:-5432}
ports:
- "${PG_PORT}:5432"
volumes:
- type: volume
source: postgres-pro
target: /var/lib/pgpro
volume:
nocopy: false
nginx-1c:
image: nginx-1c:latest
build: ./nginx-1c/
environment:
- NGINX_HOST=localhost
- NGINX_PORT=${NGINX_PORT:-8080}
ports:
- "${NGINX_PORT}:80"
volumes:
- type: volume
source: nginx-1c
target: /etc/nginx/templates
volume:
nocopy: false
volumes:
platform-data:
onecdb-server-data:
postgres-pro:
nginx-1c: