86 lines
2.4 KiB
YAML
86 lines
2.4 KiB
YAML
version: "3.4"
|
|
|
|
services:
|
|
reverse:
|
|
image: nginx:1.23.3
|
|
container_name: reverse
|
|
restart: always
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
ports:
|
|
- "80:80"
|
|
links:
|
|
- "gitea:gitea"
|
|
- "teabag:teabag"
|
|
- "garage:garage"
|
|
- "drone:drone"
|
|
|
|
gitea:
|
|
# Patched image required for Gitea version < 1.19
|
|
image: superboum/gitea:1.17.4-cors
|
|
container_name: gitea
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
- GITEA__cors__ENABLED=true
|
|
- GITEA__cors__ALLOW_DOMAIN=*
|
|
- GITEA__cors__ALLOW_CREDENTIALS=true
|
|
- GITEA__cors__SCHEME=*
|
|
- GITEA__cors__METHODS=GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
|
|
# Ignored in Gitea version < 1.19, see image comment above
|
|
- GITEA__cors__HEADERS=Content-Type,User-Agent,Authorization
|
|
# HTTP hooks
|
|
- GITEA__webhook__ALLOWED_HOST_LIST=*
|
|
restart: always
|
|
volumes:
|
|
- ./gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "2222:22"
|
|
teabag:
|
|
image: ghcr.io/denyskon/teabag:latest
|
|
container_name: teabag
|
|
restart: always
|
|
volumes:
|
|
- ./teabag.env:/etc/teabag/teabag.env
|
|
extra_hosts:
|
|
- "git.vimaire.machine.dufour.io:192.168.1.107"
|
|
|
|
drone:
|
|
image: drone/drone:2
|
|
container_name: drone
|
|
restart: always
|
|
environment:
|
|
- DRONE_GITEA_CLIENT_ID=c0f72ac9-defc-4c0e-a118-9ac36f1f336a
|
|
- DRONE_GITEA_CLIENT_SECRET=gto_fillslosv252xrb7mpkgo5k6boktyw4vtympxlwyzsydeuwuqaia
|
|
- DRONE_GITEA_SERVER=http://git.vimaire.machine.dufour.io
|
|
- DRONE_RPC_SECRET=EJPRnOcjAoKxAShyBTdeDX4GSHRUX4FzuIJKohTEw10=
|
|
- DRONE_SERVER_HOST=drone.vimaire.machine.dufour.io
|
|
- DRONE_SERVER_PROTO=http
|
|
- DRONE_SERVER_PORT=:3002
|
|
extra_hosts:
|
|
- "git.vimaire.machine.dufour.io:192.168.1.107"
|
|
|
|
runner:
|
|
image: drone/drone-runner-docker:1
|
|
container_name: runner
|
|
restart: always
|
|
environment:
|
|
- DRONE_RPC_PROTO=http
|
|
- DRONE_RPC_HOST=drone.vimaire.machine.dufour.io
|
|
- DRONE_RPC_SECRET=EJPRnOcjAoKxAShyBTdeDX4GSHRUX4FzuIJKohTEw10=
|
|
- DRONE_RUNNER_CAPACITY=1
|
|
- DRONE_RUNNER_NAME=dummy
|
|
- DRONE_HTTP_BIND=3003
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
garage:
|
|
image: dxflrs/garage:v0.8.1
|
|
container_name: garage
|
|
restart: always
|
|
volumes:
|
|
- ./garage.toml:/etc/garage.toml
|
|
- ./garage:/var/lib/garage/
|
|
|