Updated docker-compose

niggo 2024-03-13 08:47:01 +00:00
parent 8793359e2b
commit 8261548533
1 changed files with 10 additions and 5 deletions

@ -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:
``` ```