ci: move to new traefik network
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-11 09:09:30 +03:00
parent 84576e9cd9
commit db276da985
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
2 changed files with 4 additions and 5 deletions

View File

@ -5,15 +5,15 @@ pipeline:
build-docker-image:
image: plugins/docker
settings:
repo: git.pleshevski.ru/${CI_REPO}
repo: ${ORG_REGISTRY}/${CI_REPO}
tags:
- ${CI_COMMIT_BRANCH}
- ${CI_COMMIT_SHA:0:8}
deploy:
image: git.pleshevski.ru/drone_plugins/docker_stack
image: ${ORG_REGISTRY}/drone_plugins/docker_stack
pull: true
environment:
PLESHEVSKI_IMAGE: git.pleshevski.ru/${CI_REPO}:${CI_COMMIT_SHA:0:8}
PLESHEVSKI_IMAGE: ${ORG_REGISTRY}/${CI_REPO}:${CI_COMMIT_SHA:0:8}
settings:
name: pleshevski

View File

@ -8,7 +8,7 @@ services:
site:
image: $PLESHEVSKI_IMAGE
networks:
- rp_public
- traefik_public
deploy:
replicas: 1
endpoint_mode: vip
@ -18,7 +18,6 @@ services:
order: start-first
labels:
- traefik.enable=true
- traefik.docker.network=rp_public
- traefik.constraint-label=magenta_public
- traefik.http.routers.to_pleshevski_site.rule=Host(`pleshevski.ru`)
- traefik.http.routers.to_pleshevski_site.entrypoints=https