Skip to content

Commit

Permalink
Creates api env file
Browse files Browse the repository at this point in the history
  • Loading branch information
rafasimao committed Nov 28, 2019
1 parent 162ae79 commit cb9db23
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config/api.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# DATABASE
API_HOST=database
API_DATABASE=raiseupapi
API_PORT=5432
API_USERNAME=raiseupapi
API_PASSWORD=raiseupapi
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ services:
container_name: api
build:
context: ./apps/api
# env_file:
# - ./config/api.env
env_file:
- ./config/api.env
volumes:
- ./apps/api:/app
ports:
Expand Down

0 comments on commit cb9db23

Please sign in to comment.