Skip to content

Question: Test setup #797

Answered by Mailblocker
Mailblocker asked this question in Q&A
Discussion options

You must be logged in to vote

In case anyone needs this:

In general my idea worked. I needed to add the following steps:

  1. Removed container_name: name_of_service from all service entries in my docker compose file. Otherwise the testing setup creates the same names for the containers and conflicts with them.
  2. Added COMPOSE_PROJECT_NAME=test and =release to the .env files of my docker setups. This creates the containernames with the prefixes test and release and prevents conflicts between the names of the containers of the test and release setup.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Mailblocker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #788 on May 16, 2021 17:35.