mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
fix some problem, can't connect
This commit is contained in:
@@ -13,13 +13,21 @@ services:
|
||||
- "${DATABASE_PORT}:5432"
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- labnet
|
||||
volumes:
|
||||
- neuro_postgres_db:/var/lib/postgresql/data
|
||||
restart: always
|
||||
backend:
|
||||
container_name: neuro_front
|
||||
container_name: neuro_backend
|
||||
build: ./backend
|
||||
stdin_open: true
|
||||
environment:
|
||||
- DATABASE_HOST='db'
|
||||
- DATABASE_PORT=${DATABASE_PORT}
|
||||
- DATABASE_USERNAME=${DATABASE_USER}
|
||||
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
|
||||
- DATABASE_DB=${DATABASE_NAME}
|
||||
networks:
|
||||
- labnet
|
||||
volumes:
|
||||
@@ -34,4 +42,4 @@ volumes:
|
||||
neuro_postgres_db:
|
||||
driver: local
|
||||
networks:
|
||||
labnet:
|
||||
labnet: {}
|
||||
Reference in New Issue
Block a user