updated docker stack files

This commit is contained in:
2022-10-31 00:40:09 +09:00
parent 874a043991
commit 417adbf9ef
12 changed files with 172 additions and 64 deletions

View File

@ -12,7 +12,10 @@ services:
hostname: drone-service-host
tty: true
environment:
## unabel to use the internal DNS name as this URL is shown to
- DS_NODE_NAME={{.Node.Hostname}}
- DS_SERVICE_NAME={{.Service.Name}}
- DS_TASK_NAME={{.Task.Name}}
## unable to use the internal DNS name as this URL is shown to
## the user for oauth login.
##- DRONE_GITEA_SERVER=http://gitea-service-host:3000
- DRONE_GITEA_SERVER=https://code.miflux.com
@ -22,9 +25,6 @@ services:
- DRONE_SERVER_HOST=ci.miflux.com
- DRONE_SERVER_PROTO=https
- DRONE_USER_CREATE=username:hyung-hwan,admin:true
- DS_NODE_NAME="{{.Node.Hostname}}"
- DS_SERVICE_NAME="{{.Service.Name}}"
- DS_TASK_NAME="{{.Task.Name}}"
networks:
- drone-network
- traefik-network