Files
mRemotify/docker-compose.yml
2026-02-23 07:15:37 +01:00

65 lines
1.3 KiB
YAML

services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_USER: mremotify
POSTGRES_PASSWORD: mremotify
POSTGRES_DB: mremotify
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- internal
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U mremotify']
interval: 5s
timeout: 5s
retries: 10
guacd:
build:
context: .
dockerfile: docker/guacd.Dockerfile
restart: unless-stopped
environment:
GUACD_LOG_LEVEL: debug
WLOG_LEVEL: "0"
networks:
- internal
backend:
build:
context: .
dockerfile: docker/backend.Dockerfile
restart: unless-stopped
env_file: .env
environment:
POSTGRES_URL: postgresql://mremotify:mremotify@postgres:5432/mremotify
GUACD_HOST: guacd
GUACD_PORT: '4822'
depends_on:
postgres:
condition: service_healthy
guacd:
condition: service_started
networks:
- internal
frontend:
build:
context: .
dockerfile: docker/frontend.Dockerfile
restart: unless-stopped
ports:
- '80:80'
depends_on:
- backend
networks:
- internal
networks:
internal:
volumes:
postgres_data: