Skip to content

Commit

Permalink
update handling of ssl certs
Browse files Browse the repository at this point in the history
Zeragamba committed May 25, 2024
1 parent 41fc962 commit c5b522b
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ services:
extends:
file: docker-compose.shared.yml
service: router
volumes:
- ./router/ssl/prod:/opt/ssl:ro
- vol-images:/opt/images:ro
- vol-client:/opt/client:ro
ports:
- "${APP_PORT}:443"
restart: always
4 changes: 0 additions & 4 deletions docker-compose.shared.yml
Original file line number Diff line number Diff line change
@@ -11,10 +11,6 @@ services:
depends_on:
- server
- og-injector
volumes:
- ./.certs:/opt/ssl:ro
- vol-images:/opt/images:ro
- vol-client:/opt/client:ro

server:
build: ./server
6 changes: 5 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ services:
extends:
file: docker-compose.shared.yml
service: router
volumes:
- ./router/ssl/dev:/opt/ssl:ro
- vol-images:/opt/images:ro
- vol-client:/opt/client:ro
ports:
- "${DEV_SERVER_PORT}:443"

@@ -31,7 +35,7 @@ services:
service: client
volumes:
- ./client:/opt/client:rw
- ./.certs:/opt/ssl:ro
- ./router/ssl/dev:/opt/ssl:ro
- vol-client:/opt/client/build:rw
environment:
HTTPS: true
File renamed without changes.
File renamed without changes.
Empty file added router/ssl/prod/.keep
Empty file.

0 comments on commit c5b522b

Please sign in to comment.