This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathdocker-compose.yml
91 lines (83 loc) · 1.67 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3'
services:
database:
image: postgres
ports:
- 5432:5432
volumes:
- ./database:/var/lib/postgresql/data
restart: always
environment:
POSTGRES_USER: teletype
POSTGRES_PASSWORD: password
POSTGRES_DB: teletype-server-dev
networks:
teletype:
test-database:
image: postgres
ports:
- 5433:5432
volumes:
- ./test-database:/var/lib/postgresql/data
restart: always
environment:
POSTGRES_USER: teletype
POSTGRES_PASSWORD: password
POSTGRES_DB: teletype-server-test
networks:
teletype:
coturn:
image: coturn
build:
context: coturn
dockerfile: Dockerfile
ports:
- 3478:3478
restart: always
networks:
teletype:
aliases:
- coturn
socketcluster:
image: socketcluster
build:
context: socketcluster
dockerfile: Dockerfile
ports:
- 8000:8000
restart: always
networks:
teletype:
aliases:
- socketcluster
keycloak:
image: jboss/keycloak
ports:
- 8080:8080
restart: always
environment:
DB_VENDOR: postgres
DB_ADDR: keycloak-database
KEYCLOAK_USER: teletype
KEYCLOAK_PASSWORD: password
networks:
teletype:
aliases:
- keycloak
keycloak-database:
image: postgres
ports:
- 5434:5432
volumes:
- ./keycloak-database:/var/lib/postgresql/data
restart: always
environment:
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
POSTGRES_DB: keycloak
networks:
teletype:
aliases:
- keycloak-database
networks:
teletype: