Skip to content

Commit

Permalink
build(global): 🧰 docker compose config updates (#5)
Browse files Browse the repository at this point in the history
tag fixes and improved sample override file
  • Loading branch information
TyIsI authored Sep 25, 2024
1 parent 678bf26 commit af781d7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
17 changes: 17 additions & 0 deletions docker-compose.override-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 5 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit af781d7

Please sign in to comment.