Add initial infrastructure configuration

This commit is contained in:
2026-05-20 10:45:05 +02:00
parent 0277e29d63
commit eb8d75442e
3 changed files with 58 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
services:
caddy:
image: caddy:2
container_name: appfactory-caddy
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ../gateway/Caddyfile:/etc/caddy/Caddyfile
- ../data/caddy:/data
- ../data/caddy-config:/config
networks:
- appfactory
gitea:
image: gitea/gitea:latest
container_name: appfactory-gitea
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__server__ROOT_URL=http://192.168.66.130:3000/
- GITEA__server__SSH_PORT=2222
volumes:
- ../data/gitea:/data
ports:
- "3000:3000"
- "2222:22"
networks:
- appfactory
registry:
image: registry:2
container_name: appfactory-registry
restart: unless-stopped
volumes:
- ../data/registry:/var/lib/registry
ports:
- "5000:5000"
networks:
- appfactory
networks:
appfactory:
name: appfactory