Skip to content

Commit

Permalink
Define classpath explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
pavetok committed Feb 18, 2024
1 parent 7bf8953 commit b1fe861
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions stack/product/compose.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ services:
image: {{ storage.image }}:{{ storage.version }}-alpine
networks:
- product
- gear
ports:
- 5432:5432
environment:
Expand All @@ -34,14 +33,14 @@ services:
image: {{ image_ns }}/{{ database.image }}:{{ database.cid }}
networks:
- product
- gear
depends_on:
storage:
condition: service_healthy
labels:
image.key: {{ database.image }}
command: >-
--show-banner=false
--classpath=/liquibase/changelog
--changelog-file=dba/changelog.yaml
--url=jdbc:postgresql://storage:5432/postgres
--liquibase-schema-name=public
Expand All @@ -59,14 +58,14 @@ services:
image: {{ image_ns }}/{{ database.image }}:{{ database.cid }}
networks:
- product
- gear
depends_on:
database:
condition: service_completed_successfully
labels:
image.key: {{ database.image }}
command: >-
--show-banner=false
--classpath=/liquibase/changelog
--changelog-file=owner/changelog.yaml
--url=jdbc:postgresql://storage:5432/{{ database.name }}
--liquibase-schema-name=public
Expand Down

0 comments on commit b1fe861

Please sign in to comment.