chore(backend): update template to v0.4.0
This commit is contained in:
1 parent
eb8187ff6e
commit
114058e6ae
3 files changed
+6
-3
No files matched your search
@@ -5,10 +5,12 @@ services:
|
||||
caddy:
|
||||
aliases:
|
||||
- beavergram-api
|
||||
# ports:
|
||||
# - "127.0.0.1:8080:${API__PORT}"
|
||||
|
||||
postgres:
|
||||
ports:
|
||||
- "127.0.0.1:${DB__PORT:-5432}:5432"
|
||||
# ports:
|
||||
# - "127.0.0.1:5432:${DB__PORT}"
|
||||
|
||||
networks:
|
||||
caddy:
|
||||
|
||||
@@ -87,6 +87,7 @@ services:
|
||||
POSTGRES_USER: ${DB__USER:-beavergram}
|
||||
POSTGRES_PASSWORD: ${DB__PASSWORD:-beavergram}
|
||||
POSTGRES_DB: ${DB__DB_NAME:-beavergram}
|
||||
PGPORT: ${DB__PORT:-5432}
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
- ./backend/migrations/init:/docker-entrypoint-initdb.d:ro
|
||||
|
||||
Reference in new issue
Block a user