From af781d7ab86d0155e53632a21e038f585e6fc3af Mon Sep 17 00:00:00 2001 From: TyIsI Date: Tue, 24 Sep 2024 19:10:48 -0700 Subject: [PATCH] =?UTF-8?q?build(global):=20=F0=9F=A7=B0=20docker=20compos?= =?UTF-8?q?e=20config=20updates=20(#5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tag fixes and improved sample override file --- docker-compose.override-sample.yml | 17 +++++++++++++++++ docker-compose.yml | 7 +++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/docker-compose.override-sample.yml b/docker-compose.override-sample.yml index ab5ddb2..d351acd 100644 --- a/docker-compose.override-sample.yml +++ b/docker-compose.override-sample.yml @@ -4,14 +4,31 @@ services: context: . dockerfile: docker/Dockerfile target: backend + labels: + traefik.docker.network: proxy + traefik.enable: 'true' + traefik.http.routers.tacos-backend.entryPoints: websecure + traefik.http.routers.tacos-backend.rule: Host(`tacos.devtest.vanhack.ca`) && PathPrefix(`/api`) + traefik.http.routers.tacos-backend.tls: 'true' + traefik.http.routers.tacos-backend.tls.certresolver: lets-encrypt + traefik.http.services.service-tacos.loadbalancer.server.port: '7000' networks: - proxy + volumes: + - ./data:/data frontend: build: context: . dockerfile: docker/Dockerfile target: frontend + labels: + traefik.docker.network: proxy + traefik.enable: 'true' + traefik.http.routers.tacos-frontend.entryPoints: websecure + traefik.http.routers.tacos-frontend.rule: Host(`tacos.devtest.vanhack.ca`) + traefik.http.routers.tacos-frontend.tls: 'true' + traefik.http.routers.tacos-frontend.tls.certresolver: lets-encrypt networks: - proxy diff --git a/docker-compose.yml b/docker-compose.yml index 7d0bedd..d7996b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,8 @@ services: backend: - image: vanhack/tacos-backend + image: ghcr.io/vhs/tacos-ng-backend:main + restart: always + frontend: - image: vanhack/tacos-frontend + image: ghcr.io/vhs/tacos-ng-frontend:main + restart: always