Skip to content

Commit

Permalink
remove extra signer db and move flyway to bottom of compose
Browse files Browse the repository at this point in the history
  • Loading branch information
cylewitruk committed Jan 10, 2025
1 parent 0277d8d commit bb22d19
Showing 1 changed file with 17 additions and 18 deletions.
35 changes: 17 additions & 18 deletions docker/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ services:
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: signer
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
Expand All @@ -41,23 +40,6 @@ services:
timeout: 1s
retries: 5

flyway:
image: flyway/flyway:10.13.0
command: >-
-url=jdbc:postgresql://postgres:5432/signer
-user=postgres
-password=postgres
-sqlMigrationPrefix=""
-connectRetries=60
migrate
volumes:
- ../signer/migrations:/flyway/sql
depends_on:
postgres:
condition: service_healthy
profiles:
- manual_start

# DynamoDB Tables for the Emily API.
emily-dynamodb:
image: "amazon/dynamodb-local:latest"
Expand Down Expand Up @@ -94,3 +76,20 @@ services:
- PORT=3031
ports:
- "3031:3031"

flyway:
image: flyway/flyway:10.13.0
command: >-
-url=jdbc:postgresql://postgres:5432/signer
-user=postgres
-password=postgres
-sqlMigrationPrefix=""
-connectRetries=60
migrate
volumes:
- ../signer/migrations:/flyway/sql
depends_on:
postgres:
condition: service_healthy
profiles:
- manual_start

0 comments on commit bb22d19

Please sign in to comment.