Updated docker-compose
parent
8793359e2b
commit
8261548533
15
Docker.md
15
Docker.md
@ -8,21 +8,26 @@ Der App container wird der Container der die eigentliche App sowie den Webserver
|
||||
|
||||
## Compose
|
||||
`docker-compose.yaml`
|
||||
```Dockerfile
|
||||
```yaml
|
||||
name: dwldash
|
||||
services:
|
||||
postgres:
|
||||
volumes:
|
||||
- /var/run/dwldash/docker/postgres:/var/lib/postgres
|
||||
- dwldashdb:/var/lib/postgres
|
||||
restart: no
|
||||
environment:
|
||||
POSTGRES_PASSWORD: bQnroQrK9uUrq7
|
||||
image: postgres
|
||||
app:
|
||||
app:
|
||||
volumes:
|
||||
- /var/run/dwldash/docker/data:/dwldash
|
||||
restart: no
|
||||
environment:
|
||||
DATABASE_URL: postgres://postgres:bQnroQrK9uUrq7@postgres:5432/DWL
|
||||
image: postgres
|
||||
DATABASE_URL: postgres://postgres:bQnroQrK9uUrq7@postgres:5432/DWL
|
||||
PORT: 3000
|
||||
image: git.ipmake.me/bkrheine/dwldashboard:latest
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
dwldashdb:
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user