Skip to content

Commit

Permalink
build: add names to compose volumes (multiple deploy)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Nov 5, 2023
1 parent a6399c3 commit b7e4727
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docker-compose.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,23 @@ version: "3"

volumes:
fmtm_frontend:
fmtm_data:
name: fmtm-frontend-${GIT_BRANCH}
fmtm_db_data:
name: fmtm-db-data-${GIT_BRANCH}
fmtm_logs:
name: fmtm-logs-${GIT_BRANCH}
fmtm_images:
name: fmtm-images-${GIT_BRANCH}
fmtm_tiles:
central_db_data:
central_frontend:
name: fmtm-tiles-${GIT_BRANCH}
certs:
name: fmtm-certs-${GIT_BRANCH}
certbot_data:
name: fmtm-certbot-data-${GIT_BRANCH}
central_db_data:
name: fmtm-central-db-data-${GIT_BRANCH}
central_frontend:
name: fmtm-central-frontend-${GIT_BRANCH}

networks:
fmtm-net:
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@ version: "3"

volumes:
fmtm_frontend:
name: fmtm-frontend-${GIT_BRANCH}
fmtm_db_data:
name: fmtm-db-data-${GIT_BRANCH}
fmtm_logs:
name: fmtm-logs-${GIT_BRANCH}
fmtm_images:
name: fmtm-images-${GIT_BRANCH}
fmtm_tiles:
name: fmtm-tiles-${GIT_BRANCH}
certs:
name: fmtm-certs-${GIT_BRANCH}
certbot_data:
name: fmtm-certbot-data-${GIT_BRANCH}

networks:
fmtm-net:
Expand Down

0 comments on commit b7e4727

Please sign in to comment.