x
This commit is contained in:
@@ -7,23 +7,43 @@ services:
|
||||
- USER_GID=1000
|
||||
restart: always
|
||||
networks:
|
||||
- nginx_ingress
|
||||
- gitea
|
||||
# - nginx_ingress
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
|
||||
runner:
|
||||
image: docker.io/gitea/act_runner:nightly
|
||||
environment:
|
||||
CONFIG_FILE: /cfg/config.yaml
|
||||
GITEA_INSTANCE_URL: "http://192.168.1.99:3000"
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN: "nyLWByK8nlW40XWwA5OsQU0FUmn3vpH51hv5Y22H"
|
||||
GITEA_RUNNER_NAME: "runner1"
|
||||
GITEA_RUNNER_LABELS: "runner_label1"
|
||||
# GITEA_RUNNER_EPHEMERAL: "1"
|
||||
networks:
|
||||
- gitea
|
||||
# - nginx_ingress
|
||||
volumes:
|
||||
- runner_config:/cfg
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
networks:
|
||||
nginx_ingress:
|
||||
external: true
|
||||
# nginx_ingress:
|
||||
# external: true
|
||||
gitea:
|
||||
external: false
|
||||
|
||||
volumes:
|
||||
runner_config:
|
||||
data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: addr=192.168.1.96
|
||||
device: :/media/DATA/runtime/gitea/data
|
||||
# driver: local
|
||||
# driver_opts:
|
||||
# type: nfs
|
||||
# o: addr=192.168.1.96
|
||||
# device: :/media/DATA/runtime/gitea/data
|
||||
|
||||
Reference in New Issue
Block a user