Skip to content

Commit

Permalink
Fix/move docker profiles to dev (#674)
Browse files Browse the repository at this point in the history
* refactor: move docker profiles to dev.yml

* docs: update comment in makefile
  • Loading branch information
oddgrd authored Mar 3, 2023
1 parent 262ef1a commit 91f12b4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ test:
cd e2e; POSTGRES_PASSWORD=$(POSTGRES_PASSWORD) APPS_FQDN=$(APPS_FQDN) cargo test $(CARGO_TEST_FLAGS) -- --nocapture

# Start the containers locally. This does not start panamax by default,
# to start panamax locally run this command with the COMPOSE_PROFILES=panamax
# environment variable.
# to start panamax locally run this command with an override for the profiles:
# `make COMPOSE_PROFILES=panamax up`
up: docker-compose.rendered.yml
CONTAINER_REGISTRY=$(CONTAINER_REGISTRY) $(DOCKER_COMPOSE) -f $< -p $(STACK) up -d $(DOCKER_COMPOSE_FLAGS)

Expand Down
6 changes: 6 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ services:
exec /usr/local/bin/service "$${@:0}"
ports:
- 5000:8000
panamax:
profiles:
- panamax
deck-chores:
profiles:
- panamax
4 changes: 0 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ services:
constraints:
- node.hostname==controller
panamax:
profiles:
- panamax
image: "${CONTAINER_REGISTRY}/panamax:${PANAMAX_TAG}"
restart: always
networks:
Expand All @@ -191,8 +189,6 @@ services:
constraints:
- node.hostname==controller
deck-chores:
profiles:
- panamax
image: funkyfuture/deck-chores:1
restart: unless-stopped
environment:
Expand Down

0 comments on commit 91f12b4

Please sign in to comment.