Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trust local, dev CA in containers #28

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ x-dev: &dev
- source: CERT_PRIVATE_KEY
- source: CERT_AUTHORITY
- source: UID
volumes:
- ./certs/rootCA.pem:/usr/local/share/ca-certificates/cert.pem

# Will override what is in x-dev, x-common.
x-prod: &prod
Expand Down Expand Up @@ -145,9 +147,15 @@ services:
depends_on:
activemq-prod:
condition: service_started
crayfits:
<<: [*common]
crayfits-dev: &crayfits
<<: [*dev, *common]
image: ${ISLANDORA_REPOSITORY}/crayfits:${ISLANDORA_TAG}
networks:
default:
aliases: # Allow access without using the `-dev` or `-prod` suffix.
- crayfits
crayfits-prod:
<<: [*prod, *crayfits]
fits:
<<: [*common]
image: ${ISLANDORA_REPOSITORY}/fits:${ISLANDORA_TAG}
Expand Down