forked from jugatsu/onec-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
64 lines (56 loc) · 1.23 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
version: '3.3'
services:
srv:
image: ${DOCKER_USERNAME}/onec-server:${ONEC_VERSION}
hostname: srv
ports:
- "1540-1541:1540-1541"
- "1560:1560"
volumes:
- srv_data:/home/usr1cv8/.1cv8
- srv_log:/var/log/1C
networks:
- back_net
db:
image: rsyuzyov/docker-postgresql-pro-1c:${ONEC_PG_VERSION}
ports:
- "${PG_PORT}:5432"
volumes:
- db_data:/var/lib/postgresql
networks:
back_net:
aliases:
- db
repo:
image: ${DOCKER_USERNAME}/onec-crs:${ONEC_VERSION}
ports:
- "${CRS_PORT}:1542"
volumes:
- repo_data:/home/usr1cv8/.1cv8
networks:
- back_net
ras:
image: ${DOCKER_USERNAME}/onec-server:${ONEC_VERSION}
entrypoint: /opt/1C/v8.3/x86_64/ras
command: "cluster srv:1540"
ports:
- "${RAS_PORT}:1545"
networks:
- back_net
client:
image: ${DOCKER_USERNAME}/onec-client-vnc:${ONEC_VERSION}
ports:
- "5900:5900"
volumes:
- client_data:/home/usr1cv8/.1cv8
- ${PWD}/nethasp.ini:/opt/1C/v8.3/x86_64/conf/nethasp.ini
networks:
- back_net
volumes:
srv_data: {}
srv_log: {}
db_data: {}
repo_data: {}
client_data: {}
networks:
back_net: {}