Skip to content

Commit

Permalink
docker-compose: update to pg12
Browse files Browse the repository at this point in the history
  • Loading branch information
digorgonzola committed Nov 21, 2023
1 parent 86f2894 commit 41cf8fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions docker-compose-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
context: .
healthcheck:
test: ["CMD-SHELL", "uwsgi-is-ready --stats-socket /tmp/statsock > /dev/null 2>&1 || exit 1"]
image: api
volumes:
- ./app:/app
- static_data:/vol/web
Expand Down
5 changes: 2 additions & 3 deletions docker-compose-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ services:
app:
build:
context: .
healthcheck:
test: ["CMD-SHELL", "uwsgi-is-ready --stats-socket /tmp/statsock > /dev/null 2>&1 || exit 1"]
image: api
ports:
- "8000:8000"
volumes:
Expand Down Expand Up @@ -46,7 +45,7 @@ services:
"
db:
image: postgres:10-alpine
image: postgres:12-alpine
environment:
- POSTGRES_DB=app
- POSTGRES_USER=postgres
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ services:
app:
build:
context: .
healthcheck:
test: ["CMD-SHELL", "uwsgi-is-ready --stats-socket /tmp/statsock > /dev/null 2>&1 || exit 1"]
image: api
ports:
- "8000:8000"
volumes:
Expand All @@ -26,7 +25,7 @@ services:
condition: service_healthy

db:
image: postgres:10-alpine
image: postgres:12-alpine
environment:
- POSTGRES_DB=app
- POSTGRES_USER=postgres
Expand Down

0 comments on commit 41cf8fb

Please sign in to comment.