-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework local dev/test container setup #1196
- Loading branch information
1 parent
7745182
commit 10c9af8
Showing
12 changed files
with
95 additions
and
44 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
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,32 @@ | ||
###################################################################### | ||
# Compose for DSMR-reader development only, NEVER use in production! # | ||
###################################################################### | ||
|
||
version: "3.9" | ||
services: | ||
tests-dsmr-app: | ||
container_name: tests-dsmr-app | ||
restart: 'no' | ||
build: | ||
context: . | ||
dockerfile: provisioning/container/Containerfile-dev | ||
target: local-dsmrreader-test | ||
volumes: | ||
- ./src:/app | ||
depends_on: | ||
tests-dsmr-db: | ||
condition: service_healthy | ||
env_file: | ||
- provisioning/container/test.env | ||
|
||
tests-dsmr-db: | ||
container_name: tests-dsmr-db | ||
image: postgres:15-alpine | ||
restart: 'no' | ||
healthcheck: | ||
test: ["CMD-SHELL", "pg_isready -U dsmrreader"] | ||
interval: 1s | ||
timeout: 5s | ||
retries: 20 | ||
env_file: | ||
- provisioning/container/test.env |
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