-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
executable file
·55 lines (50 loc) · 1.08 KB
/
docker-compose.yaml
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
version: '3'
networks:
guac:
driver: bridge
services:
# PostgreSQL database
pg:
image: postgres:16.1-alpine
container_name: postgres
restart: always
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_DB: ${GUAC_PG_DB}
POSTGRES_USER: ${GUAC_PG_USER}
POSTGRES_PASSWORD: ${GUAC_PG_PASS}
networks:
- guac
volumes:
- ./pg-init:/docker-entrypoint-initdb.d:rwz
- ./pg-data:/var/lib/postgresql/data:rw
# Guacamole server
guacd:
image: guacamole/guacd:1.5.4
container_name: guacd
restart: always
networks:
- guac
volumes:
- ./gd-drive:/drive:rw
- ./gd-record:/record:rw
# Guacamole web client
guac:
image: guacamole/guacamole:1.5.4
container_name: guacamole
restart: always
depends_on:
- guacd
- pg
links:
- guacd
environment:
GUACD_HOSTNAME: guacd
POSTGRESQL_HOSTNAME: pg
POSTGRESQL_DATABASE: ${GUAC_PG_DB}
POSTGRESQL_USER: ${GUAC_PG_USER}
POSTGRESQL_PASSWORD: ${GUAC_PG_PASS}
networks:
- guac
ports:
- 8080:8080/tcp