forked from UTDallasEPICS/Wellness-Center-Older-Adults
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 816 Bytes
/
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
# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
adminer:
image: adminer
restart: unless-stopped
ports:
- "8080:8080"
websockify:
image: kamehb/websockify
restart: unless-stopped
command: "0.0.0.0:6432 db:5432"
ports:
- "6432:6432"
depends_on:
- db
volumes:
- websockify-data:/opt/websockify/data
- websockify-config:/opt/websockify/config
volumes:
postgres-data:
driver: local
websockify-data:
driver: local
websockify-config:
driver: local