You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- services:
- web:
- build: ./web
- container_name: python
- restart: unless-stopped
- expose:
- - 5000
- volumes:
- - ./web:/code
- env_file:
- - ./.env.prod
- depends_on:
- - db
- command: gunicorn --workers=3 --bind 0.0.0.0:5000 "app:create_app()"
-
- db:
- image: mariadb:latest
- container_name: mariadb
- restart: unless-stopped
- env_file:
- - ./.env.prod
- volumes:
- - dbdata:/var/lib/mysql
- command: '--default-authentication-plugin=mysql_native_password'
-
- nginx:
- image: nginx:latest
- container_name: nginx
- restart: unless-stopped
- ports:
- - "1337:80"
- volumes:
- - ./nginx-conf:/etc/nginx/conf.d
- depends_on:
- - web
-
- volumes:
- dbdata:
|