Files
docu/guests/vm101-ubuntu/stacks/jeanavril/compose.yml
T
root 5a4f7a7333 Doku: Docker-Stacks unter guests/vm101-ubuntu.
Compose und stack-relevante Config ohne Volumes/Daten; Secrets REDACTED.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 11:05:53 +02:00

69 lines
1.4 KiB
YAML

x-logging: &default-logging
driver: json-file
options:
max-size: "50m"
max-file: "3"
networks:
docbr0:
external: true
default:
external: false
services:
web:
logging: *default-logging
image: git.jeanavril.com/jean/website:latest
container_name: jeanavril-web
restart: unless-stopped
environment:
- NODE_ENV=production
- DATABASE_URL=/app/data/local.db
volumes:
- ./website:/app/data
healthcheck:
test: [ "CMD", "wget", "--spider", "http://127.0.0.1:3000" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
default:
docbr0:
ipv4_address: 10.2.2.100
depends_on:
- gitea
gitea:
logging: *default-logging
image: gitea/gitea:latest
environment:
- USER_UID=1000
- USER_GID=1000
- DB_TYPE=mysql
- DB_HOST=giteadb:3306
- DB_NAME=gitea
- DB_USER=gitea
- DB_PASSWD=REDACTED
restart: always
volumes:
- ./gitea/gitea:/data
depends_on:
- giteadb
networks:
default:
docbr0:
ipv4_address: 10.2.2.101
giteadb:
logging: *default-logging
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=REDACTED
- MYSQL_USER=gitea
- MYSQL_PASSWORD=REDACTED
- MYSQL_DATABASE=gitea
volumes:
- ./gitea/mysql:/var/lib/mysql