fix ci/cd
Deploy app frontend / app frontend (push) Successful in 1m13s
Deploy service couchdb / service couchdb (push) Successful in 17s
Deploy db-migrations / db-migrations (push) Failing after 56s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 44s
Deploy app frontend / app frontend (push) Successful in 1m13s
Deploy service couchdb / service couchdb (push) Successful in 17s
Deploy db-migrations / db-migrations (push) Failing after 56s
Deploy service message-delivery-method-web-push / service message-delivery-method-web-push (push) Successful in 44s
This commit is contained in:
@@ -33,6 +33,9 @@ jobs:
|
|||||||
COUCHDB_PASSWORD: ${{secrets.COUCHDB_PASSWORD}}
|
COUCHDB_PASSWORD: ${{secrets.COUCHDB_PASSWORD}}
|
||||||
run: DB_MIGRATIONS_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect up --pull never db-migrations
|
run: DB_MIGRATIONS_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect up --pull never db-migrations
|
||||||
|
|
||||||
|
|
||||||
- name: cleanup docker image
|
- name: cleanup docker image
|
||||||
if: always()
|
if: always()
|
||||||
run: docker rmi hereconnect/service-db-migrations:${{env.GITHUB_SHA}}
|
run: |
|
||||||
|
docker rmi hereconnect/service-db-migrations:${{env.GITHUB_SHA}}
|
||||||
|
docker compose -p hereconnect rm db-migrations --force --stop
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ services:
|
|||||||
couchdb:
|
couchdb:
|
||||||
build: services/couchdb
|
build: services/couchdb
|
||||||
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
image: hereconnect/service-couchdb:${COUCHDB_TAG:-latest}
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:5984:5984"
|
- "127.0.0.1:5984:5984"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
FROM couchdb:latest
|
FROM couchdb:latest
|
||||||
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=5 CMD curl --fail http://localhost:5984 || exit 1
|
||||||
COPY ./config/* /opt/couchdb/etc/local.d/*
|
COPY ./config/* /opt/couchdb/etc/local.d/*
|
||||||
Reference in New Issue
Block a user