added env file

parent 3281f6b5
......@@ -9,8 +9,8 @@ services:
restart: always
ports:
- "8000:8000"
environment:
- database_url=postgres://postgres:postgres@db:5432/postgres
env_file:
- .env
networks:
- tasktrekernetwork
volumes:
......@@ -21,8 +21,8 @@ services:
db:
image: postgres:14-alpine
environment:
- POSTGRES_PASSWORD=postgres
env_file:
- .env
ports:
- "5436:5432"
volumes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment