46 lines
881 B
YAML
46 lines
881 B
YAML
version: "3"
|
|
services:
|
|
web_recipes:
|
|
image: vabene1111/recipes
|
|
restart: always
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
env_file:
|
|
- .env
|
|
- .secret.env
|
|
volumes:
|
|
- staticfiles:/opt/recipes/staticfiles
|
|
- nginx_config:/opt/recipes/nginx/conf.d
|
|
- mediafiles:/opt/recipes/mediafiles
|
|
networks:
|
|
tandoor:
|
|
|
|
nginx_recipes:
|
|
image: nginx:mainline-alpine
|
|
restart: always
|
|
labels:
|
|
com.centurylinklabs.watchtower.enable: true
|
|
env_file:
|
|
- .env
|
|
- .secret.env
|
|
depends_on:
|
|
- web_recipes
|
|
volumes:
|
|
- nginx_config:/etc/nginx/conf.d:ro
|
|
- staticfiles:/static
|
|
- mediafiles:/media
|
|
networks:
|
|
tandoor:
|
|
apps:
|
|
aliases:
|
|
- tandoor
|
|
|
|
volumes:
|
|
nginx_config:
|
|
staticfiles:
|
|
mediafiles:
|
|
|
|
networks:
|
|
tandoor:
|
|
apps:
|
|
external: true
|