2021-04-01 09:48:35 +02:00
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
django:
|
2021-05-18 19:31:36 +02:00
|
|
|
build: ./
|
2021-04-01 09:48:35 +02:00
|
|
|
restart: always
|
|
|
|
entrypoint: /django-launcher.pro.sh
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/app/
|
|
|
|
environment:
|
|
|
|
DEBUG: "False"
|
|
|
|
ALLOWED_HOSTS: ""
|
|
|
|
SECRET_KEY: "secret"
|
2021-06-01 10:42:54 +02:00
|
|
|
DB: "../database.sqlite"
|
2021-04-01 09:48:35 +02:00
|
|
|
DOMAIN: ""
|
|
|
|
DOMAIN_URL: "https://"
|
|
|
|
STATIC_URL: "/static/"
|
2021-04-21 16:56:46 +02:00
|
|
|
STATIC_ROOT: "static"
|
2021-04-01 09:48:35 +02:00
|
|
|
MEDIA_URL: "/media/"
|
|
|
|
EMAIL_HOST: ""
|
|
|
|
EMAIL_USE_TLS: "True"
|
|
|
|
EMAIL_PORT: "2525"
|
|
|
|
EMAIL_USER: ""
|
|
|
|
EMAIL_PASSWORD: ""
|
|
|
|
expose:
|
|
|
|
- 8000
|
|
|
|
|
|
|
|
caddy:
|
|
|
|
image: caddy:alpine
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
volumes:
|
|
|
|
- .:/usr/src/app/
|
2021-04-16 18:35:06 +02:00
|
|
|
- ./Caddyfile.pro:/etc/caddy/Caddyfile
|
2021-04-01 09:48:35 +02:00
|
|
|
- ./../caddy_data:/data
|
|
|
|
depends_on:
|
|
|
|
- django
|
2021-06-14 09:20:56 +02:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
restart: always
|
|
|
|
expose:
|
|
|
|
- 6379
|
2021-04-01 09:48:35 +02:00
|
|
|
|
|
|
|
gulp:
|
|
|
|
build: Dockerfiles/gulp
|
|
|
|
restart: always
|
|
|
|
command: gulp
|
|
|
|
volumes:
|
|
|
|
- .:/app/
|
|
|
|
depends_on:
|
|
|
|
- caddy
|