guac-spice-stack/docker-compose.yml
2023-03-16 13:49:44 +01:00

38 lines
1.1 KiB
YAML

version: '3'
services:
# guacamole client
guacamole-client:
build: https://github.com/necouchman/guacamole-client.git#working/spice-protocol
container_name: guacamole-client
restart: unless-stopped
environment:
- "GUACD_HOSTNAME=guacamole-server"
- "POSTGRES_DATABASE=guacamole_db"
- "POSTGRES_HOSTNAME=guacamole-postgres"
- "POSTGRES_USER=guacamole_user"
- "POSTGRES_PASSWORD=te7kais2aeshukeev6tohjeechie5ohk"
depends_on:
- guacamole-server
- database
ports:
- 8080:8080/tcp
# guacamole server
guacamole-server:
build: https://git.maride.cc/maride/guacamole-spice-protocol.git#working/spice-protocol
container_name: guacamole-server
restart: unless-stopped
# Postgres DB to store everything from the client
database:
image: postgres:13.4-buster
container_name: guacamole-postgres
restart: unless-stopped
environment:
- "POSTGRES_DB=guacamole_db"
- "POSTGRES_USER=guacamole_user"
- "POSTGRES_PASSWORD=te7kais2aeshukeev6tohjeechie5ohk"
volumes:
- ./initdb.sql:/docker-entrypoint-initdb.d/initdb.sql