Skip to content

Commit 80b4916

Browse files
committed
docker .env links to root .env
1 parent 00845b4 commit 80b4916

3 files changed

Lines changed: 3 additions & 27 deletions

File tree

docker/.env.example

Lines changed: 0 additions & 24 deletions
This file was deleted.

docker/compose-without-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ services:
1414
restart: always
1515
volumes:
1616
- database-data:/var/lib/postgresql/data/
17-
env_file: .env
17+
env_file: ../.env
1818
networks:
1919
- app_network
2020
ports:

docker/compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
- 3000:3000
1717
depends_on:
1818
- database
19-
env_file: .env
19+
env_file: ../.env
2020
environment:
2121
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
2222
networks:
@@ -28,7 +28,7 @@ services:
2828
restart: always
2929
volumes:
3030
- database-data:/var/lib/postgresql/data/
31-
env_file: .env
31+
env_file: ../.env
3232
networks:
3333
- app_network
3434
ports:

0 commit comments

Comments
 (0)