Skip to content

Commit

Permalink
fix passwords, pin node and postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones-plip committed Feb 11, 2025
1 parent 56feb85 commit 6f97ca8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#base Build
ARG node_version=10
ARG node_version=14
FROM node:$node_version-buster-slim as base_couch2pg_build
RUN apt update
RUN apt dist-upgrade -y
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
image: public.ecr.aws/medic/cht-couchdb:4.17.0
environment:
- "COUCHDB_USER=cht"
- "COUCHDB_PASSWORD=cht-password"
- "COUCHDB_PASSWORD=cht_password"
- "COUCHDB_SECRET=424a71c9-bb2b-44ba-9ea2-2ae97e78f41d"
- "COUCHDB_UUID=424a71c9-bb2b-44ba-9ea2-2ae97e78f41d"
- "SVC_NAME=couch"
Expand All @@ -12,7 +12,7 @@ services:
- 5984:5984

postgres:
image: postgres:15
image: postgres:13
environment:
- "POSTGRES_USER=cht"
- "POSTGRES_PASSWORD=cht_password"
Expand All @@ -27,9 +27,9 @@ services:
- ./libs:/usr/app/libs
- ./tests:/usr/app/tests
environment:
COUCHDB_URL: ${COUCHDB_URL:-"http://cht:cht-password@couch:5984"}
COUCHDB_URL: ${COUCHDB_URL:-"http://cht:cht_password@couch:5984"}
TEST_PG_URL: postgres://cht:cht_password@postgres:5432
TEST_COUCH_URL: http://cht:cht-password@couch:5984
TEST_COUCH_URL: http://cht:cht_password@couch:5984
POSTGRES_USER_NAME: cht
POSTGRES_PASSWORD: cht_password
POSTGRES_SERVER_NAME: ${POSTGRES_SERVER_NAME:-postgres}
Expand Down

0 comments on commit 6f97ca8

Please sign in to comment.