hotpocket/services/backend/docker-compose-aio.yaml
Tomek Wójcik b4338e2769
Some checks failed
CI / Checks (push) Failing after 13m2s
Release v1.0.0
2025-08-20 21:00:50 +02:00

31 lines
1.2 KiB
YAML

services:
webapp:
build:
context: ".."
dockerfile: "backend/Dockerfile"
target: "development"
image: "docker-hosted.nexus.bthlabs.pl/hotpocket/backend:aio-local"
environment:
DJANGO_SETTINGS_MODULE: "hotpocket_backend.settings.aio"
HOTPOCKET_BACKEND_ENV: "${HOTPOCKET_BACKEND_ENV:-aio}"
HOTPOCKET_BACKEND_APP: "webapp"
HOTPOCKET_BACKEND_DEBUG: "false"
HOTPOCKET_BACKEND_SECRET_KEY: "thisisntright"
HOTPOCKET_BACKEND_DATABASE_PAYLOAD: '{"engine":"django.db.backends.sqlite3","name":"/srv/run/hotpocket-backend-aio.sqlite"}'
HOTPOCKET_BACKEND_CELERY_IGNORE_RESULT: "true"
HOTPOCKET_BACKEND_CELERY_ALWAYS_EAGER: "true"
HOTPOCKET_BACKEND_GUNICORN_WORKERS: "2"
HOTPOCKET_BACKEND_INITIAL_ACCOUNT_USERNAME: "hotpocket"
HOTPOCKET_BACKEND_INITIAL_ACCOUNT_PASSWORD: "hotpocketm4st3r"
HOTPOCKET_BACKEND_RUN_MIGRATIONS: "true"
HOTPOCKET_BACKEND_UPLOADS_PATH: "/srv/run/uploads"
volumes:
- "./run:/srv/run"
networks:
default:
aliases:
- "backend-webapp.hotpocket.work.bthlabs.net"
restart: "unless-stopped"
stdin_open: true
tty: true