Skip to content

Commit

Permalink
pin postgres version in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brassy-endomorph committed Sep 10, 2024
1 parent 5f8569f commit 2617a6e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
---
services:
app:
build: .
ports:
- "8080:8080"
- 127.0.0.1:8080:8080
environment:
- SQLALCHEMY_DATABASE_URI=postgresql:https://hushline:hushline@postgres:5432/hushline
- FLASK_ENV=development
- SECRET_KEY="cb3f4afde364bfb3956b97ca22ef4d2b593d9d980a4330686267cabcd2c0befd"
- ENCRYPTION_KEY="bi5FDwhZGKfc4urLJ_ChGtIAaOPgxd3RDOhnvct10mw="
- REGISTRATION_CODES_REQUIRED=false
SQLALCHEMY_DATABASE_URI: postgresql:https://hushline:hushline@postgres:5432/hushline
FLASK_ENV: development
SECRET_KEY: "cb3f4afde364bfb3956b97ca22ef4d2b593d9d980a4330686267cabcd2c0befd"
ENCRYPTION_KEY: "bi5FDwhZGKfc4urLJ_ChGtIAaOPgxd3RDOhnvct10mw="
REGISTRATION_CODES_REQUIRED: false
volumes:
- ./volumes/app:/data
- ./:/app
depends_on:
- postgres

postgres:
image: "postgres:alpine"
image: postgres:16.4-alpine3.20
environment:
- POSTGRES_USER=hushline
- POSTGRES_PASSWORD=hushline
- POSTGRES_DB=hushline
POSTGRES_USER: hushline
POSTGRES_PASSWORD: hushline
POSTGRES_DB: hushline
ports:
- "5432:5432"
- 127.0.0.1:5432:5432
volumes:
- ./volumes/postgres:/var/lib/postgresql/data

0 comments on commit 2617a6e

Please sign in to comment.