modify docker compose port mapping to use docker env var
This commit is contained in:
parent
1344ae2b8c
commit
7ad735a3c0
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,6 +15,7 @@ Thumbs.db
|
|||||||
# Env
|
# Env
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
|
*.env
|
||||||
!.env.example
|
!.env.example
|
||||||
!.env.test
|
!.env.test
|
||||||
|
|
||||||
|
|||||||
@ -9,5 +9,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=local.db
|
- DATABASE_URL=local.db
|
||||||
|
env_file: ./.docker.env
|
||||||
ports:
|
ports:
|
||||||
- 8080:3000
|
- $PORT:3000
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user