Skip to content

Commit

Permalink
Exercício 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jadirj committed Oct 21, 2024
1 parent 571b3f8 commit d0e7fe7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ services:
PURGER_PUBLIC_SITES: "['trepr.localhost']"

varnish:
build:
context: devops/varnish
image: ghcr.io/jadirj/trepr-varnish:latest
platform: linux/amd64
labels:
- traefik.enable=true
- traefik.constraint-label=public
Expand All @@ -51,10 +51,8 @@ services:
depends_on:
- backend
frontend:
build:
context: ./frontend
args:
- VOLTO_VERSION=${VOLTO_VERSION}
image: ghcr.io/jadirj/trepr-frontend:latest
platform: linux/amd64
environment:
RAZZLE_INTERNAL_API_PATH: http://backend:8080/Plone
depends_on:
Expand All @@ -77,10 +75,8 @@ services:
- traefik.http.routers.rt-frontend-internal.service=svc-frontend

backend:
build:
context: ./backend
args:
- PLONE_VERSION=${PLONE_VERSION}
image: ghcr.io/jadirj/trepr-backend:latest
platform: linux/amd64
environment:
RELSTORAGE_DSN: "dbname='${DB_NAME:-plone}' user='${DB_NAME:-plone}' host='${DB_HOST:-db}' password='${DB_PASSWORD:-ephbyKfewIEy}' port='${DB_PORT:-5432}'"
depends_on:
Expand Down

0 comments on commit d0e7fe7

Please sign in to comment.