Add watchtower, fixes and prepare for new caddy handling
This commit is contained in:
parent
a594e5d083
commit
29f31783f5
14 changed files with 213 additions and 42 deletions
tandoor
|
@ -3,6 +3,8 @@ services:
|
|||
web_recipes:
|
||||
image: vabene1111/recipes
|
||||
restart: always
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
env_file:
|
||||
- .env
|
||||
- .secret.env
|
||||
|
@ -10,12 +12,14 @@ services:
|
|||
- 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
|
||||
ports:
|
||||
- 3017:80
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: true
|
||||
env_file:
|
||||
- .env
|
||||
- .secret.env
|
||||
|
@ -25,8 +29,18 @@ services:
|
|||
- nginx_config:/etc/nginx/conf.d:ro
|
||||
- staticfiles:/static
|
||||
- mediafiles:/media
|
||||
networks:
|
||||
tandoor:
|
||||
services:
|
||||
aliases:
|
||||
- tandoor
|
||||
|
||||
volumes:
|
||||
nginx_config:
|
||||
staticfiles:
|
||||
mediafiles:
|
||||
|
||||
networks:
|
||||
tandoor:
|
||||
services:
|
||||
external: true
|
||||
|
|
Reference in a new issue