Fix indentation of docker-compose file

Signed-off-by: Tamal Saha <tamal@appscode.com>
This commit is contained in:
Tamal Saha 2021-04-11 00:28:43 -07:00 committed by Kailash Nadh
parent a266027f6c
commit 8a9b3efbb0

View file

@ -13,16 +13,16 @@ x-app-defaults: &app-defaults
- listmonk - listmonk
x-db-defaults: &db-defaults x-db-defaults: &db-defaults
image: postgres:11 image: postgres:11
ports: ports:
- "9432:5432" - "9432:5432"
networks: networks:
- listmonk - listmonk
environment: environment:
- POSTGRES_PASSWORD=listmonk - POSTGRES_PASSWORD=listmonk
- POSTGRES_USER=listmonk - POSTGRES_USER=listmonk
- POSTGRES_DB=listmonk - POSTGRES_DB=listmonk
restart: unless-stopped restart: unless-stopped
services: services:
db: db:
@ -43,7 +43,7 @@ services:
demo-app: demo-app:
<<: *app-defaults <<: *app-defaults
command: [sh, -c, "yes | ./listmonk --install --config config-demo.toml && ./listmonk --config config-demo.toml"] command: [sh, -c, "yes | ./listmonk --install --config config-demo.toml && ./listmonk --config config-demo.toml"]
depends_on: depends_on:
- demo-db - demo-db
networks: networks: