22 lines
478 B
YAML
22 lines
478 B
YAML
services:
|
|
music-to-go:
|
|
container_name: music-to-go
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "8007:8007"
|
|
restart: unless-stopped
|
|
music-to-go-db:
|
|
image: postgres
|
|
container_name: music-to-go-db
|
|
restart: unless-stopped
|
|
# set shared memory limit when using docker-compose
|
|
shm_size: 128mb
|
|
volumes:
|
|
- ./db:/docker-entrypoint-initdb.d
|
|
environment:
|
|
POSTGRES_USER: root
|
|
POSTGRES_PASSWORD: root
|
|
|