Skip to content

Commit

Permalink
Merge branch 'api-platform:main' into Devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
ili101 committed Aug 1, 2023
2 parents 34c2a0f + 3714ef8 commit c95ae9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions docker-compose.override.yml
Expand Up @@ -32,6 +32,7 @@ services:
WATCHPACK_POLLING: "true"

caddy:
command: [ "caddy", "run", "--config", "/etc/caddy/Caddyfile", "--watch" ]
build:
context: api/
target: caddy_base
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Expand Up @@ -17,7 +17,7 @@ services:

caddy:
build:
context: api/
context: ./api/
target: caddy_prod
environment:
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Expand Up @@ -2,7 +2,7 @@ version: "3.4"

services:
php:
image: app-php
image: ${IMAGES_PREFIX:-}app-php
depends_on:
- database
restart: unless-stopped
Expand All @@ -22,12 +22,12 @@ services:
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}

pwa:
image: app-pwa
image: ${IMAGES_PREFIX:-}app-pwa
environment:
NEXT_PUBLIC_ENTRYPOINT: http://caddy

caddy:
image: app-caddy
image: ${IMAGES_PREFIX:-}app-caddy
depends_on:
- php
- pwa
Expand Down

0 comments on commit c95ae9e

Please sign in to comment.