1
0
Fork 0

gitea: add network to connect runner

This commit is contained in:
Lukáš Kucharczyk 2023-11-17 07:53:53 +01:00
parent f67af2f452
commit 8674f45edf
1 changed files with 5 additions and 0 deletions

View File

@ -698,6 +698,7 @@ services:
networks: networks:
- public - public
- postgres - postgres
- gitea
depends_on: depends_on:
- postgres - postgres
ports: ports:
@ -716,6 +717,8 @@ services:
- "${DOCKER_STORAGE_PATH}/gitearunner/config:/config" - "${DOCKER_STORAGE_PATH}/gitearunner/config:/config"
- "${DOCKER_STORAGE_PATH}/gitearunner/data:/data" - "${DOCKER_STORAGE_PATH}/gitearunner/data:/data"
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
networks:
- gitea
environment: environment:
- GITEA_INSTANCE_URL=https://git.${DOMAIN} - GITEA_INSTANCE_URL=https://git.${DOMAIN}
- CONFIG_FILE=/config/config.yaml - CONFIG_FILE=/config/config.yaml
@ -850,6 +853,8 @@ networks:
external: true external: true
mariadb: mariadb:
attachable: true attachable: true
gitea:
external: false
volumes: volumes:
timetracker-static: timetracker-static: