Files
intrasys/docker-compose.yml
Walter Oggioni d961c61b80
All checks were successful
CI / build (push) Successful in 1m22s
added docker-compose.yml
2025-07-04 19:21:29 +08:00

41 lines
870 B
YAML

volumes:
postgres-data:
driver: local
services:
postgres:
image: postgres:alpine
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=password
volumes:
- postgres-data:/var/lib/postgresql/data
deploy:
resources:
limits:
cpus: 1.00
memory: 256M
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"]
interval: 30s
timeout: 60s
retries: 5
start_period: 5s
intrasys:
image: gitea.woggioni.net/woggioni/intrasys:latest
environment:
- PGHOST=postgres
- PGUSER=postgres
- PGPASSWORD=password
- INTRASYS_LOG=trace
ports:
- "127.0.0.1:8080:8080"
deploy:
resources:
limits:
cpus: 1.00
memory: 32M
depends_on:
postgres:
condition: service_healthy