Stage 04.1 - storage foundation with postgres
This commit is contained in:
@@ -1,4 +1,16 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17
|
||||
container_name: dzentra_postgres
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: dzentra_bot
|
||||
POSTGRES_USER: dzentra_bot
|
||||
POSTGRES_PASSWORD: change_me
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- dzentra_postgres_data:/var/lib/postgresql/data
|
||||
bot:
|
||||
build:
|
||||
context: ../..
|
||||
@@ -7,3 +19,7 @@ services:
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ../../app/.env
|
||||
depends_on:
|
||||
- postgres
|
||||
volumes:
|
||||
dzentra_postgres_data:
|
||||
Reference in New Issue
Block a user