File size: 1,770 Bytes
9425aed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | version: '3.8'
services:
sov-git-server:
build:
context: ..
dockerfile: infra/Dockerfile.gitea
container_name: sov-git-server
restart: unless-stopped
networks:
- sov-internal
volumes:
- sov-git-data:/data
- ./hooks:/data/gitea/custom/hooks:ro
- ../.sov/keys:/keys:ro
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__SERVER__DOMAIN=localhost
- GITEA__SERVER__ROOT_URL=http://localhost:3000/
- GITEA__SERVER__SSH_DOMAIN=localhost
- GITEA__SERVER__SSH_PORT=2222
- GITEA__SERVER__OFFLINE_MODE=true
- GITEA__SECURITY__INSTALL_LOCK=true
- GITEA__LOG__MODE=file
- GITEA__LOG__LEVEL=Warn
sov-registry-proxy:
image: registry:2
container_name: sov-registry-proxy
restart: unless-stopped
networks:
- sov-internal
volumes:
- ./certs:/certs:ro
- sov-registry-data:/var/lib/registry:rw
environment:
- REGISTRY_HTTP_ADDR=127.0.0.1:5000
- REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY=/var/lib/registry
hauki-fn-ops:
build:
context: ..
dockerfile: infra/Dockerfile.hauki
container_name: hauki-fn-ops
restart: unless-stopped
networks:
- sov-internal
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ../.sov/prolog:/prolog/rules:ro
environment:
- TRIGGER_SOURCE=github_webhook
- VERIFICATION_LOGIC=prolog
- DEPLOY_TARGET=local_sov_swarm
networks:
sov-internal:
internal: true
volumes:
sov-git-data:
driver: local
driver_opts:
type: none
o: bind
device: /opt/sov/worm/git-storage
sov-registry-data:
driver: local
|