Skip to content

Commit

Permalink
update docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Aug 30, 2024
1 parent 19e55f7 commit b97c12f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ REGISTRY="inakri" # set -a && source .env
REPO_OWNER="izelnakri"
PGUSER=postgres
PGPASSWORD=postgres
PGHOST=localhost
# PGHOST=localhost
MIX_ENV=test
# CIRCLE_BRANCH=$$(if [ -v CIRCLE_BRANCH ]; then echo master; else git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'; fi)
# DOCKER_TAG=paper_trail:master
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.4'
services:
db:
image: postgres:12.2-alpine
image: postgres:16.4-alpine
environment:
POSTGRES_PASSWORD: $PGPASSWORD
PGPASSWORD: $PGPASSWORD
PGUSER: $PGUSER
PGDATA: /var/lib/postgresql/data/pgdata
Expand Down
2 changes: 1 addition & 1 deletion setup-database.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
set -oe allexport
source ./.env
source .env

# Prepare Dialyzer if the project has Dialyxer set up
# if mix help dialyzer >/dev/null 2>&1
Expand Down

0 comments on commit b97c12f

Please sign in to comment.