26 lines
No EOL
649 B
YAML
26 lines
No EOL
649 B
YAML
x-common: &common
|
|
image: badbl0cks/pkmntrade-club:staging
|
|
restart: always
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- DEBUG=True
|
|
- DISABLE_SIGNUPS=True
|
|
- PUBLIC_HOST=staging.pkmntrade.club
|
|
- ALLOWED_HOSTS=staging.pkmntrade.club,127.0.0.1
|
|
|
|
services:
|
|
web-staging:
|
|
<<: *common
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 2
|
|
# healthcheck:
|
|
# test: ["CMD", "curl", "-f", "http://127.0.0.1:8000"]
|
|
# interval: 30s
|
|
# timeout: 10s
|
|
# retries: 3
|
|
# start_period: 30s
|
|
celery-staging:
|
|
<<: *common
|
|
command: ["celery", "-A", "pkmntrade_club.django_project", "worker", "-l", "INFO", "-B", "-E"] |