Skip to content
Snippets Groups Projects
Commit 586f90b2 authored by Nathan Hertz's avatar Nathan Hertz Committed by Nathan Hertz
Browse files

Added service (commented out) to the docker-compose.yml that allows for

easy dev DB migrations (thank you @akapusci!)
parent 3c7d69ae
No related branches found
No related tags found
1 merge request!252Add service for easy dev DB migrations
Pipeline #1725 waiting for manual action
......@@ -51,6 +51,19 @@ services:
volumes:
- ./schema:/code/schema
# Used for doing a DB migration on dsoc-dev
# Uncomment this and run the command `docker compose up schema-dev` and the migration will run
# schema-dev:
# build:
# context: ./schema/
# dockerfile: Dockerfile.local
# command: ["./bin/run-migrations.sh", "dsoc-dev"]
# depends_on:
# - db
# volumes:
# - ./schema:/code/schema
# - ~/.capo:/home/casa/capo
workflow:
build:
context: .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment