added env file

parent 3281f6b5
...@@ -9,8 +9,8 @@ services: ...@@ -9,8 +9,8 @@ services:
restart: always restart: always
ports: ports:
- "8000:8000" - "8000:8000"
environment: env_file:
- database_url=postgres://postgres:postgres@db:5432/postgres - .env
networks: networks:
- tasktrekernetwork - tasktrekernetwork
volumes: volumes:
...@@ -21,8 +21,8 @@ services: ...@@ -21,8 +21,8 @@ services:
db: db:
image: postgres:14-alpine image: postgres:14-alpine
environment: env_file:
- POSTGRES_PASSWORD=postgres - .env
ports: ports:
- "5436:5432" - "5436:5432"
volumes: 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