67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
web_recipes:
|
|
restart: always
|
|
image: vabene1111/recipes:tandoor-v1-20251212
|
|
env_file: .tandoor.env
|
|
volumes:
|
|
- /tandoor/statics:/opt/recipes/staticfiles
|
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
|
- nginx_config:/opt/recipes/nginx/conf.d
|
|
- /tandoor/media:/opt/recipes/mediafiles
|
|
nginx_recipes:
|
|
image: nginx:mainline-alpine
|
|
restart: always
|
|
ports:
|
|
- 8083:80
|
|
env_file: .tandoor.env
|
|
depends_on:
|
|
- web_recipes
|
|
volumes:
|
|
# Do not make this a bind mount, see https://docs.tandoor.dev/install/docker/#volumes-vs-bind-mounts
|
|
- nginx_config:/etc/nginx/conf.d:ro
|
|
- /tandoor/statics:/static:ro
|
|
- /tandoor/media:/media:ro
|
|
ntfy:
|
|
image: binwiederhier/ntfy
|
|
command: serve
|
|
env_file: .ntfy.env
|
|
volumes:
|
|
- /ntfy/cache:/var/cache/ntfy
|
|
- /ntfy/lib:/var/lib/ntfy
|
|
ports:
|
|
- "8082:80"
|
|
restart: unless-stopped
|
|
gitea_db:
|
|
image: docker.io/library/mysql:8
|
|
container_name: gitea_db
|
|
restart: always
|
|
env_file: .gitea_new.env
|
|
ports:
|
|
- "3306:3306"
|
|
networks:
|
|
- gitea_network
|
|
volumes:
|
|
- "/gitea_new/mysql:/var/lib/mysql"
|
|
gitea_new:
|
|
image: docker.gitea.com/gitea:28.1.0
|
|
container_name: gitea_new
|
|
restart: always
|
|
env_file: .gitea_new.env
|
|
ports:
|
|
- "8084:3000"
|
|
- "2648:22"
|
|
volumes:
|
|
- "/gitea_new/data:/data"
|
|
- "/etc/timezone:/etc/timezone:ro"
|
|
- "/etc/timezone:/etc/localtime:ro"
|
|
networks:
|
|
- gitea_network
|
|
depends_on:
|
|
- gitea_db
|
|
volumes:
|
|
nginx_config:
|
|
networks:
|
|
gitea_network:
|