Skip to content

Commit

Permalink
move Docker postgres image version tag to .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Jul 11, 2023
1 parent 4d2aebc commit e2ebfcd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 4CAT Version: Update with latest release tag or 'latest'
# https://hub.docker.com/repository/docker/digitalmethodsinitiative/4cat/tags?page=1&ordering=last_updated
DOCKER_TAG=stable
POSTGRES_TAG=latest

# Database setup
POSTGRES_USER=fourcat
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.6'
services:
db:
container_name: 4cat_db
image: postgres:latest
image: postgres:${POSTGRES_TAG}
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.6'
services:
db:
container_name: 4cat_db
image: postgres:latest
image: postgres:${POSTGRES_TAG}
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose_public_ip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version: '3.6'
services:
db:
container_name: 4cat_db
image: postgres:latest
image: postgres:${POSTGRES_TAG}
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER}
Expand Down

0 comments on commit e2ebfcd

Please sign in to comment.