Skip to content

Commit

Permalink
config for test
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 24, 2022
1 parent e9d6952 commit de6182d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,3 @@ services:
build:
dockerfile: docker/{{ cookiecutter.docker_base.split(":")[0] }}/Dockerfile
target: production
# (only for testing)
init: true
environment:
- INPUT_FOLDER=/input/7848096d-20c2-4621-abcc-51c6ef9b0ecc
- OUTPUT_FOLDER=/output/7848096d-20c2-4621-abcc-51c6ef9b0ecc
volumes:
# some defaults to test the service
- ${COMPOSE_INPUT_DIR}:/input/7848096d-20c2-4621-abcc-51c6ef9b0ecc
- ${COMPOSE_OUTPUT_DIR}:/output/7848096d-20c2-4621-abcc-51c6ef9b0ecc
11 changes: 11 additions & 0 deletions {{cookiecutter.project_slug}}/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3.7"
services:
{{ cookiecutter.project_slug }}:
init: true
environment:
- INPUT_FOLDER=/input/7848096d-20c2-4621-abcc-51c6ef9b0ecc
- OUTPUT_FOLDER=/output/7848096d-20c2-4621-abcc-51c6ef9b0ecc
volumes:
# some defaults to test the service
- ${COMPOSE_INPUT_DIR}:/input/7848096d-20c2-4621-abcc-51c6ef9b0ecc
- ${COMPOSE_OUTPUT_DIR}:/output/7848096d-20c2-4621-abcc-51c6ef9b0ecc

0 comments on commit de6182d

Please sign in to comment.