-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
28 lines (27 loc) · 1.18 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
services:
beets-flask:
container_name: beets-flask
hostname: beets-container
build:
context: .
dockerfile: Dockerfile
target: prod
image: beets-flask
restart: unless-stopped
ports:
- "5001:5001" # production and backend
environment:
# 502 is default on macos, 1000 on linux
USER_ID: 1000
GROUP_ID: 1000
LOG_LEVEL_BEETSFLASK: INFO # this is used for our own logs. (set beets level via the config)
LOG_LEVEL_OTHERS: WARNING # this is passed python logging basic config (all other modules)
volumes:
# # if you want to use the same beets-library inside and out:
# # YOU NEED TO MAP YOUR MUSIC FOLDER IN THE CONTAINER TO THE SAME PATH AS OUTSIDE
# # and make sure the config used in the container has the right path!
# - /music/:/music/
# we put the beets and our beets-flask config into the /config directory
# create these folders before starting the container! otherwise you might
# get permission issues.
- ./config/:/config