1
0
This commit is contained in:
ai.syui.ai
2026-03-10 23:16:42 +09:00
commit ad7c3a860b
10 changed files with 382 additions and 0 deletions

44
compose.yml Normal file
View File

@@ -0,0 +1,44 @@
services:
redis:
image: redis:alpine
restart: always
volumes:
- ./data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping", "|", "grep", "PONG"]
interval: 1s
timeout: 5s
retries: 5
knot:
build:
context: ./repos/knot-docker/
args:
UID: 1000
GID: 1000
restart: always
ports:
- "2588:5555"
- "2222:22"
volumes:
- ./keys:/etc/ssh/keys
- ./repositories:/home/git/repositories
- ./server:/app
env_file:
- ./envs/knot
appview:
build:
context: .
dockerfile: docker/appview/Dockerfile
target: appview
restart: always
ports:
- "2589:3000"
volumes:
- ./data/appview:/data
env_file:
- ./envs/appview
depends_on:
redis:
condition: service_healthy