port 53 udp re-push
This commit is contained in:
parent
fa261cde14
commit
5337da9f60
|
@ -8,12 +8,32 @@ clone:
|
||||||
partial: false
|
partial: false
|
||||||
depth: 1
|
depth: 1
|
||||||
steps:
|
steps:
|
||||||
deploy:
|
build-push:
|
||||||
name: deploy
|
name: build-push
|
||||||
image: docker:latest
|
when:
|
||||||
|
- path:
|
||||||
|
include: [ 'docker-compose.yml', 'Dockerfile', '.woodpecker.yml' ]
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
# - docker login -u $${REGISTRY_USER} -p $${REGISTRY_PASSWORD} git.nixc.us
|
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
|
||||||
- docker stack deploy --with-registry-auth -c ./technitium.yml technitium
|
- echo compose up build
|
||||||
|
- docker compose up -d --build
|
||||||
|
- echo compose push
|
||||||
|
- docker compose push
|
||||||
|
- echo compose down and rm
|
||||||
|
- docker compose down && docker compose rm -f
|
||||||
|
deploy-config:
|
||||||
|
name: deploy-config
|
||||||
|
when:
|
||||||
|
- path:
|
||||||
|
include: [ '$${CI_REPO_NAME}.yml', '.woodpecker.yml' ]
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
secrets: [REGISTRY_USER, REGISTRY_PASSWORD]
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
commands:
|
||||||
|
- echo "$${REGISTRY_PASSWORD}" | docker login -u "$${REGISTRY_USER}" --password-stdin git.nixc.us
|
||||||
|
- docker stack deploy --with-registry-auth -c ./$${CI_REPO_NAME}.yml $${CI_REPO_NAME}
|
|
@ -17,7 +17,11 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- published: 53
|
- published: 53
|
||||||
target: 53
|
target: 53
|
||||||
protocol: both
|
protocol: udp
|
||||||
|
mode: host
|
||||||
|
- published: 53
|
||||||
|
target: 53
|
||||||
|
protocol: tcp
|
||||||
mode: host
|
mode: host
|
||||||
# - published: 853
|
# - published: 853
|
||||||
# target: 853
|
# target: 853
|
||||||
|
|
Loading…
Reference in New Issue