85 lines
2.1 KiB
YAML
85 lines
2.1 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
tandoor_db:
|
|
container_name: tandoor_db
|
|
image: postgres:17
|
|
restart: always
|
|
env_file: .tandoor.env
|
|
ports:
|
|
- "5432:5432"
|
|
networks:
|
|
- tandoor_network
|
|
volumes:
|
|
- "/tandoor/db:/var/lib/postgresql/data"
|
|
web_recipes:
|
|
restart: always
|
|
image: vabene1111/recipes:tandoor-v1-20251212
|
|
env_file: .tandoor.env
|
|
networks:
|
|
- tandoor_network
|
|
depends_on:
|
|
- tandoor_db
|
|
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
|
|
networks:
|
|
- tandoor_network
|
|
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
|
|
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
|
|
brad_vscode:
|
|
image: git.coldlightalchemist.com/bradley/code-server-wpilib-fedora:latest
|
|
container_name: brad_vscode
|
|
restart: always
|
|
env_file: .brad_vscode.env
|
|
volumes:
|
|
- "brad_vscode_2026:/home/coder"
|
|
ports:
|
|
- "8082:8080"
|
|
volumes:
|
|
nginx_config:
|
|
brad_vscode_2026:
|
|
networks:
|
|
gitea_network:
|
|
tandoor_network:
|