This commit is contained in:
@@ -28,7 +28,8 @@ jobs:
|
||||
|
||||
- name: start container
|
||||
env:
|
||||
API_URL: http://${{secrets.COUCHDB_USER}}:${{secrets.COUCHDB_PASSWORD}}@127.0.0.1:15984
|
||||
COUCHDB_USER: ${{secrets.COUCHDB_USER}}
|
||||
COUCHDB_PASSWORD: ${{secrets.COUCHDB_PASSWORD}}
|
||||
run: DB_MIGRATIONS_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect up --pull never db-migrations
|
||||
|
||||
- name: cleanup docker image
|
||||
|
||||
@@ -24,6 +24,8 @@ services:
|
||||
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
|
||||
volumes:
|
||||
- db_migrations_data:/opt/migrations/data
|
||||
environment:
|
||||
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
|
||||
depends_on:
|
||||
- couchdb
|
||||
restart: no
|
||||
|
||||
Reference in New Issue
Block a user