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
|
## Compose
|
||||||
`docker-compose.yaml`
|
`docker-compose.yaml`
|
||||||
```Dockerfile
|
```yaml
|
||||||
name: dwldash
|
name: dwldash
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/dwldash/docker/postgres:/var/lib/postgres
|
- dwldashdb:/var/lib/postgres
|
||||||
restart: no
|
restart: no
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: bQnroQrK9uUrq7
|
POSTGRES_PASSWORD: bQnroQrK9uUrq7
|
||||||
image: postgres
|
image: postgres
|
||||||
app:
|
app:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/dwldash/docker/data:/dwldash
|
- /var/run/dwldash/docker/data:/dwldash
|
||||||
restart: no
|
restart: no
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgres://postgres:bQnroQrK9uUrq7@postgres:5432/DWL
|
DATABASE_URL: postgres://postgres:bQnroQrK9uUrq7@postgres:5432/DWL
|
||||||
image: postgres
|
PORT: 3000
|
||||||
|
image: git.ipmake.me/bkrheine/dwldashboard:latest
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
volumes:
|
||||||
|
dwldashdb:
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user