docker-calendso/docker-compose.yaml
Ramiro Berrelleza 1c0621ef49
add depends_on key to calendso service
Signed-off-by: Ramiro Berrelleza <rberrelleza@gmail.com>
2021-07-02 16:17:44 -07:00

22 lines
392 B
YAML

# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres
restart: always
volumes:
- database-data:/var/lib/postgresql/data/
env_file: .env
ports:
- 5432:5432
calendso:
build: .
restart: always
ports:
- 3000:3000
- 5555:5555
env_file: .env
depends_on:
- db
volumes:
database-data: