Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Commit

Permalink
build: expose les variables d'env à travers un volume
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisromain committed Dec 19, 2019
1 parent b8ab935 commit b59932f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ services:
NODE_PORT: ${NODE_PORT}
expose:
- ${NODE_PORT}
env_file: .env
volumes:
- ./.env:/app/.env
restart: always

networks:
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ services:
NODE_PORT: ${NODE_PORT}
expose:
- ${NODE_PORT}
env_file: .env
volumes:
- ./.env:/app/.env
restart: always

networks:
Expand Down

0 comments on commit b59932f

Please sign in to comment.