jean-cloud-services/services/git.jean-cloud.net/docker-compose.yml
2024-10-16 11:41:44 +02:00

35 lines
622 B
YAML
Executable File

version: '3'
services:
gitea:
image: gitea/gitea:1.22
depends_on:
- db
volumes:
- /data/git.jean-cloud.net/web:/data
ports:
- "22529:22"
restart: unless-stopped
networks:
default:
ipv4_address: $NET.100
db:
image: postgres:16-alpine
volumes:
- /data/git.jean-cloud.net/db:/var/lib/postgresql/data
restart: unless-stopped
networks:
default:
ipv4_address: $NET.101
deploy:
resources:
limits:
cpus: '1'
memory: 300M
networks:
default:
ipam:
config:
- subnet: $NET.0/24