Le big overhaul
This commit is contained in:
26
gitea/docker-compose.yml
Normal file
26
gitea/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
gitea:
|
||||
container_name: gitea
|
||||
image: gitea/gitea:1.22.6-rootless
|
||||
restart: always
|
||||
volumes:
|
||||
- ${GITEA_DATA_LOCATION}:/var/lib/gitea
|
||||
- ${GITEA_CONFIG_LOCATION}:/etc/gitea
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "2222:2222"
|
||||
gitea-runner:
|
||||
image: gitea/act_runner:0.2.11
|
||||
environment:
|
||||
CONFIG_FILE: /config.yaml
|
||||
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
|
||||
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
|
||||
volumes:
|
||||
- ./runner-config.yaml:/config.yaml
|
||||
- ${GITEA_RUNNER_DATA_LOCATION}:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
Reference in New Issue
Block a user