Skip to content

Commit

Permalink
Fix missing certs on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Sep 19, 2024
1 parent 7f18fdb commit a3374b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
4 changes: 0 additions & 4 deletions compose.ci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
services:
certbot:
environment:
- SELF_SIGNED=true

php:
build:
target: gally_php_dev
Expand Down
4 changes: 0 additions & 4 deletions compose.int.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
services:

certbot:
environment:
- SELF_SIGNED=true

router:
build:
context: ./docker/router
Expand Down
4 changes: 0 additions & 4 deletions compose.override.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Development environment override
services:

certbot:
environment:
- SELF_SIGNED=true

router:
volumes:
- ./api/public:/app/public
Expand Down
6 changes: 5 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ services:
- ./docker/certbot/certs:/etc/nginx/certs
- ./docker/certbot/www:/var/www/certbot
depends_on:
- varnish
varnish:
condition: service_started
certbot:
condition: service_healthy
environment:
- SELF_SIGNED=true
- SERVER_NAME=${SERVER_NAME:-gally.localhost}
- API_SERVER_NAME=${API_SERVER_NAME:-api.gally.localhost}
- BACKEND_UPSTREAM=varnish:80
Expand Down

0 comments on commit a3374b3

Please sign in to comment.