21 lines
509 B
YAML
21 lines
509 B
YAML
services:
|
|
app:
|
|
image: docker/dev-environments-javascript:stable-1
|
|
entrypoint:
|
|
- sleep
|
|
- infinity
|
|
init: true
|
|
environment:
|
|
DATABASE_URL: postgres://postgres:bQnroQrK9uUrq7@postgres:5432/DWL
|
|
volumes:
|
|
- type: bind
|
|
source: /var/run/docker.sock
|
|
target: /var/run/docker.sock
|
|
postgres:
|
|
image: postgres
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- /var/run/dwldash/docker/postgres:/var/lib/postgres
|
|
environment:
|
|
POSTGRES_PASSWORD: bQnroQrK9uUrq7 |