nalodeni.pirati.cz/docker-compose.sample.yml

47 lines
1.5 KiB
YAML
Raw Normal View History

2019-11-13 22:53:05 +02:00
version: '3.4'
2019-04-03 13:55:34 +03:00
services:
nginx:
image: nginx:latest
container_name: nalodeni-nginx
ports:
- "80:8001"
volumes:
- ./deploy/nginx:/etc/nginx/conf.d
2019-11-13 22:53:05 +02:00
- nalodeni_static:/static_nalodeni
2019-04-03 13:55:34 +03:00
depends_on:
- nalodeni
2019-11-13 22:53:05 +02:00
2019-04-03 13:55:34 +03:00
nalodeni:
2019-11-13 22:53:05 +02:00
image: docker-registry.pirati.cz/to/nalodeni.pirati.cz:master
2019-04-03 13:55:34 +03:00
container_name: nalodeni
volumes:
2019-11-13 22:53:05 +02:00
- nalodeni_static:/nalodeni/static_files
2019-04-03 13:55:34 +03:00
ports:
- "8000"
environment:
2019-11-13 22:53:05 +02:00
- NALODENI_DEBUG=b-off
- NALODENI_DEBUG_LOCAL=b-off
- NALODENI_BASE_SUBDOMAIN=s-nalodeni.
- NALODENI_BASE_DOMAIN=s-pirati.cz
- NALODENI_APP_REG_LIMIT_HARD=s-10000
- NALODENI_APP_REG_LIMIT_SOFT=s-50
- NALODENI_HTTP_PROTOCOL=s-https
- NALODENI_EMAIL_HOST=s-mailgate.pirati.cz
- NALODENI_EMAIL_HOST_USER=s-nalodeni@pirati.cz
- NALODENI_EMAIL_HOST_PASSWORD=s-XXXXXXXXXXXXXXXXX
- NALODENI_EMAIL_PORT=s-587
- NALODENI_EMAIL_USE_TLS=b-on
- NALODENI_TOKEN_VALID_SEC=s-604800
- NALODENI_PSQL_USER=s-nalodeni
- NALODENI_PSQL_HOST=s-10.42.0.11
- NALODENI_PSQL_DBNAME=s-nalodeni
- NALODENI_PSQL_PASSWORD=s-XXXXXXXXXXXXXXXXXXXXX
- NALODENI_AUTH_AVAIL_IDP=a-pirati,facebook,twitter,google
- NALODENI_AUTH_CLIENT_ID=s-pirati-nalodeni
- NALODENI_AUTH_SERVER=s-https://auth.pirati.cz/auth/realms/pirati/
- NALODENI_AUTH_CLIENT_SECRET=s-XXXXXXXXXXXXXXXXXXXX
volumes:
nalodeni_static:
2019-04-03 13:55:34 +03:00