-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from aau-network-security/develop
Develop to master
- Loading branch information
Showing
11 changed files
with
135 additions
and
74 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
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
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
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
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
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,37 @@ | ||
version: '3' | ||
services: | ||
server: | ||
container_name: server | ||
env_file: | ||
- .env | ||
build: . | ||
ports: | ||
- 50051:50051 | ||
restart: on-failure | ||
depends_on: | ||
- postgres-db | ||
volumes: | ||
- ${CERTS_PATH}:/certs:ro # in production, change this CERTS_PATH to your certificate files folder | ||
- ${CONFIG_PATH}:/config.yml:ro # mount config file | ||
networks: | ||
- internal | ||
|
||
postgres-db: | ||
image: postgres:alpine | ||
container_name: postgres | ||
command: postgres | ||
env_file: | ||
- .env | ||
ports: | ||
- '5432:5432' | ||
volumes: | ||
- data:/var/lib/postgresql/data | ||
networks: | ||
- internal | ||
|
||
# Networks to be created to facilitate communication between containers | ||
volumes: | ||
data: | ||
networks: | ||
internal: | ||
driver: bridge |
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
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
Oops, something went wrong.