12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- version: '2'
- services:
- guacamole-db:
- image: postgres:${POSTGRES_VER}
- container_name: guacamole-db
- hostname: guacamole-db
- restart: on-failure:3
- environment:
- POSTGRES_DATABASE: guacamole
- POSTGRES_USER: guacamole
- POSTGRES_PASSWORD: guacamole
- volumes:
- - ./data/postgres:/var/lib/postgresql/data
- # *.sql in here will run when no db exists yet
- - ./data/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- networks:
- - default
- guacd:
- image: guacamole/guacd:${GUACAMOLE_VER}
- container_name: guacd
- hostname: guacd
- restart: on-failure:3
- depends_on:
- - guacamole-db
- networks:
- - default
- - terminalserver_default
- # - terminalserver2_default
- guacamole:
- image: guacamole/guacamole:${GUACAMOLE_VER}
- container_name: guacamole
- hostname: guacamole
- restart: on-failure:3
- ports:
- - ${PORTMAPPING}
- expose:
- - 8080
- depends_on:
- - guacd
- - guacamole-db
- environment:
- GUACD_HOSTNAME: guacd
- POSTGRES_HOSTNAME: guacamole-db
- POSTGRES_DATABASE: guacamole
- POSTGRES_USER: guacamole
- POSTGRES_PASSWORD: guacamole
- VIRTUAL_HOST: ${HOSTNAME}
- LETSENCRYPT_HOST: ${HOSTNAME}
- # LETSENCRYPT_EMAIL: webmaster@${HOSTNAME}
- REMOTE_IP_VALVE_ENABLED: true
- networks:
- - default
- - reverse-proxy_default
- networks:
- reverse-proxy_default:
- external: true
- terminalserver_default:
- external: true
- # terminalserver2_default:
- # external: true
|