-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
62 lines (57 loc) · 1.25 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
version: '3.3'
services:
server:
image: ghcr.io/thedemoncat/onec-server:${ONEC_VERSION}
build:
context: ./onec-server
dockerfile: Dockerfile
args:
ONEC_USERNAME: ${ONEC_USERNAME}
ONEC_PASSWORD: ${ONEC_PASSWORD}
ONEC_VERSION: ${ONEC_VERSION}
depends_on:
- db
hostname: ${HOSTNAME}
ports:
- "1540-1541:1540-1541"
- "1560:1560"
volumes:
- server_data:/home/usr1cv8/.1cv8
- server_log:/var/log/1C
networks:
onec-net:
aliases:
- onec.local
db:
image: rsyuzyov/docker-postgresql-pro-1c
ports:
- "${PG_PORT}:5432"
volumes:
- db_data:/var/lib/postgresql
networks:
onec-net:
aliases:
- postgresql.local
ras:
image: ghcr.io/thedemoncat/onec-full:${ONEC_VERSION}
build:
context: .
dockerfile: onec-full/Dockerfile
args:
ONEC_USERNAME: ${ONEC_USERNAME}
ONEC_PASSWORD: ${ONEC_PASSWORD}
ONEC_VERSION: ${ONEC_VERSION}
entrypoint: ras
command: "cluster server:1540"
ports:
- "${RAS_PORT}:1545"
networks:
onec-net:
volumes:
server_data: {}
server_log: {}
db_data: {}
repo_data: {}
client_data: {}
networks:
onec-net: