docker-compose.yml 343 Bytes
Newer Older
1
---
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
version: "3.7"
services:
    web:
        build:
            context: .
            dockerfile: Dockerfile
        command: uwsgi
        env_file: .env
        ports:
            - protocol: tcp
              published: 8000
              target: 8000
        restart: on-failure
        volumes:
            - ./media:/code/media:rw
17
...