version: '3.7' services: app_proxy: environment: APP_HOST: adventurelog_web_1 APP_PORT: 3000 PROXY_AUTH_ADD: "false" web: image: ghcr.io/seanmorley15/adventurelog-frontend:v0.13.0@sha256:51ee22428b4192f4372b54f84c8b90cd710311ad99993c5045f53b51717dd3f7 restart: on-failure environment: PUBLIC_SERVER_URL: "http://adventurelogserver1:8000" ORIGIN: "http://${DEVICE_DOMAIN_NAME}:8015" BODY_SIZE_LIMIT: "Infinity" depends_on: - server db: image: ghcr.io/baosystems/postgis:15-3.5@sha256:ac619116c8ee81a386eb878956950d798b57c502985c12eb6e7be1598aa8d02f restart: on-failure environment: POSTGRES_DB: database POSTGRES_USER: adventure POSTGRES_PASSWORD: adventure volumes: - ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data/ server: image: ghcr.io/seanmorley15/adventurelog-backend:v0.13.0@sha256:0250d9cb0d745a8d768f31d3cdc68ac14bfa8b43dedfe0f550158e3861c12db7 container_name: adventurelogserver1 # needs to be set for the frontend to be able to connect (underline not supported) restart: on-failure environment: - PGHOST=adventurelog_db_1 - PGDATABASE=database - PGUSER=adventure - PGPASSWORD=adventure - SECRET_KEY=adventure - DJANGO_ADMIN_USERNAME=admin - DJANGO_ADMIN_PASSWORD=admin - DJANGO_ADMIN_EMAIL=admin@example.com - PUBLIC_URL=http://${DEVICE_DOMAIN_NAME}:8016 - CSRF_TRUSTED_ORIGINS=http://${DEVICE_DOMAIN_NAME}:8015 - DEBUG=False - FRONTEND_URL=http://${DEVICE_DOMAIN_NAME}:8015 ports: - '8016:80' depends_on: - db volumes: - ${APP_DATA_DIR}/data/app:/code/media/