prod: edit repo config to match real runsc deployment on instsance
This commit is contained in:
1 parent
d707520ee8
commit
6774aed8ed
2 files changed
+25
-3
No files matched your search
+23
-3
@@ -6,9 +6,6 @@ networks:
|
||||
ci:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
ci-workspace:
|
||||
|
||||
services:
|
||||
gitea:
|
||||
image: docker.gitea.com/gitea
|
||||
@@ -27,11 +24,18 @@ services:
|
||||
ports:
|
||||
# - "3000:3000"
|
||||
- "222:22"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -fsS http://localhost:3000/api/healthz || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 60
|
||||
start_period: 20s
|
||||
|
||||
dind:
|
||||
build:
|
||||
context: ./gvisor/images/basic/docker
|
||||
runtime: runsc-docker
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
cap_add:
|
||||
@@ -63,3 +67,19 @@ services:
|
||||
# Same path as dind so workflow bind mounts like -v "$repo_dir:/app"
|
||||
# resolve on the dind daemon too.
|
||||
- ci-workspace:/workspace
|
||||
|
||||
|
||||
pages:
|
||||
#note: listening on 3000
|
||||
restart: unless-stopped
|
||||
image: codeberg.org/git-pages/git-pages:latest
|
||||
container_name: git-pages
|
||||
networks:
|
||||
- caddy
|
||||
volumes:
|
||||
- ./pages:/app/data
|
||||
|
||||
volumes:
|
||||
runner-data:
|
||||
runner-docker:
|
||||
ci-workspace:
|
||||
Reference in new issue
Block a user