Files
Orchestrator/privat/CV/andreknie.de/docker-compose.yml

63 lines
1.2 KiB
YAML

services:
backend:
build: .
volumes:
- ./server/data:/app/server/data
env_file:
- .env
environment:
- NODE_OPTIONS=--max-old-space-size=128
deploy:
resources:
limits:
memory: 256M
restart: unless-stopped
caddy:
image: caddy:alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./site:/dist
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
depends_on:
- backend
umami-db:
image: postgres:15-alpine
command: postgres -c shared_buffers=32MB -c max_connections=20
env_file:
- .env
volumes:
- umami_db_data:/var/lib/postgresql/data
deploy:
resources:
limits:
memory: 256M
restart: unless-stopped
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
env_file:
- .env
environment:
- PORT=3000
- NODE_OPTIONS=--max-old-space-size=128
deploy:
resources:
limits:
memory: 256M
depends_on:
- umami-db
restart: unless-stopped
volumes:
caddy_data:
caddy_config:
umami_db_data:
# trigger deploy