forked from JoelJ/docker-compose-guacamole
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (43 loc) · 911 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
42
43
44
45
46
version: '2'
services:
postgres:
image: postgres
restart: always
volumes:
- ./init:/docker-entrypoint-initdb.d
- data:/var/lib/postgres/data
environment:
POSTGRES_USER: guacamole_user
POSTGRES_PASSWORD: some_password
POSTGRES_DB: guacamole_db
networks:
- guac
guacd:
image: guacamole/guacd
restart: always
networks:
- guac
guac:
image: guacamole/guacamole
restart: always
ports:
- "8080:8080"
environment:
POSTGRES_HOSTNAME: postgres
POSTGRES_DATABASE: guacamole_db
POSTGRES_USER: guacamole_user
POSTGRES_PASSWORD: some_password
GUACD_HOSTNAME: guacd
GUACD_PORT_4822_TCP_ADDR: guacd
GUACD_PORT_4822_TCP_PORT: 4822
networks:
- guac
depends_on:
- postgres
- guacd
volumes:
data:
driver: local
networks:
guac:
driver: bridge