Skip to content

Commit da7c88e

Browse files
populate db with default test data
1 parent 6db5054 commit da7c88e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

framework/components/dockercompose/billing_platform_service/docker-compose.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,15 @@ services:
6565
depends_on:
6666
postgres:
6767
condition: service_healthy
68+
69+
populate_test_data:
70+
image: ${BILLING_PLATFORM_SERVICE_IMAGE:-billing-platform-service:local-cre}
71+
container_name: db-migrations-billing-platform
72+
restart: on-failure
73+
command: ["populate-db", "--environment=local"]
74+
depends_on:
75+
billing-platform-service:
76+
condition: service_started
77+
networks:
78+
- backend
6879

0 commit comments

Comments
 (0)