Merge pull request #1123 from jpetazzo/tweak-compose-file
Tweak Compose file so that it works out of the box
This commit is contained in:
commit
b8b9e791ec
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgis/postgis:14-3.3-alpine
|
image: postgis/postgis:14-3.3-alpine
|
||||||
environment:
|
environment:
|
||||||
|
@ -8,9 +10,9 @@ services:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: umap:1.3.0
|
image: umap/umap:1.3.2
|
||||||
ports:
|
ports:
|
||||||
- "8001:8000"
|
- "${PORT-8000}:8000"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgis://postgres@db/postgres
|
- DATABASE_URL=postgis://postgres@db/postgres
|
||||||
- SECRET_KEY=some-long-and-weirdly-unrandom-secret-key
|
- SECRET_KEY=some-long-and-weirdly-unrandom-secret-key
|
||||||
|
|
Loading…
Reference in a new issue