services: bloonsworld: build: ./app volumes: - ./.media:/app/media:ro - ./.static:/app/static:rw - ./.django:/app/data:rw command: - sh - -c - | python manage.py collectstatic --noinput gunicorn --chdir /app --bind :80 --workers 3 Settings.wsgi:application environment: - DJANGO_SECRET_KEY - DJANGO_ALLOWED_HOSTS - DJANGO_DEBUG networks: - nginx_private - bloonsworld restart: unless-stopped bloonsworld-db: image: postgres:17 volumes: - postgres_data:/var/lib/postgresql/data/ environment: - "POSTGRES_HOST_AUTH_METHOD=trust" networks: - bloonsworld restart: unless-stopped networks: nginx_private: external: true bloonsworld: