-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
56 lines (52 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
# https://docs.docker.com/compose/compose-file/
version: '3.6'
services:
web:
build:
context: apps/
dockerfile: grapevine/Dockerfile
environment:
HOST: web
RELEASE_COOKIE: "ytZN0dOMjY5Nmwxckk3ZnppZy9WaHVxd0R2dHFndFZiZ240Y2hDY"
depends_on:
- socket
- telnet
- postgres
ports:
- 4100:4100
volumes:
- ./docker-config/grapevine:/etc/grapevine
socket:
build:
context: apps/
dockerfile: socket/Dockerfile
environment:
HOST: socket
RELEASE_COOKIE: "ytZN0dOMjY5Nmwxckk3ZnppZy9WaHVxd0R2dHFndFZiZ240Y2hDY"
depends_on:
- postgres
ports:
- 4110:4110
volumes:
- ./docker-config/socket:/etc/grapevine_socket
telnet:
build:
context: apps/
dockerfile: telnet/Dockerfile
environment:
HOST: telnet
RELEASE_COOKIE: "ytZN0dOMjY5Nmwxckk3ZnppZy9WaHVxd0R2dHFndFZiZ240Y2hDY"
depends_on:
- postgres
volumes:
- ./docker-config/telnet:/etc/telnet
postgres:
image: postgres:12.1-alpine
environment:
POSTGRES_DB: grapevine
POSTGRES_PASSWORD: grapevine
POSTGRES_USER: grapevine
volumes:
- postgres-data:/var/lib/postgresql/data
volumes:
postgres-data: {}