# 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 volumes: database-data: