Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "2"
- networks:
- elk:
- external: true
- services:
- fight:
- restart: on-failure
- image: my_image
- user: "0:33"
- ports:
- - 8010:8000
- extends:
- file: base.yml # тут переменные окружения
- service: base
- networks:
- - elk
- links:
- - redis
- depends_on:
- - redis
- volumes:
- - # volume1
- - # volume2
- - # volume3
- command: ["daphne", "-p", "8000", "-e", "ssl:443:privateKey=static/privkey.pem:certKey=static/fullchain.pem", "config.asgi:application"]
- #command: ["uwsgi", "--http", ":8000", "--processes", "2", "--threads", "2", "--wsgi-file", "config/wsgi.py"]
- redis:
- image: "redis:alpine"
- networks:
- - elk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement