-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
version: '3' | ||
services: | ||
hermes: | ||
# either build image with run.sh before running or adapt image to point to Docker Hub: e.g. sven0311tum/hermes:latest | ||
image: hermes | ||
image: hermes # TODO: Replace with the image tag from github | ||
container_name: hermes | ||
ports: | ||
- "17333:8080" | ||
environment: | ||
- APNS_CERTIFICATE_PWD | ||
- APNS_PROD_ENVIRONMENT | ||
- APNS_CERTIFICATE_PATH=/key/artemis-apns.p12 | ||
# adapt the following line | ||
- APNS_CERTIFICATE_PWD=<pwd_for_certificate> | ||
- APNS_PROD_ENVIRONMENT=false | ||
- GOOGLE_APPLICATION_CREDENTIALS=/firebase.json | ||
volumes: | ||
# adapt the following lines | ||
- <path_to_apns_certificate>:/key/artemis-apns.p12 | ||
- <path_to_google_credentials_json>:/firebase.json | ||
- ${APNS_CERT_PATH}:/key/artemis-apns.p12 | ||
- ${GOOGLE_APPLICATION_CREDENTIALS_JSON}:/firebase.json | ||
restart: on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# APNS configuration | ||
APNS_PROD_ENVIRONMENT=false | ||
APNS_CERT_PATH=/key/artemis-apns.p12 | ||
APNS_CERTIFICATE_PWD=<pwd_for_certificate> | ||
|
||
|
||
# Firebase configuration | ||
GOOGLE_APPLICATION_CREDENTIALS_JSON=/firebase.json |