-
-
Notifications
You must be signed in to change notification settings - Fork 82
/
musicbrainz-dev.yml
31 lines (29 loc) · 1.06 KB
/
musicbrainz-dev.yml
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
29
30
31
version: '3.1'
# Description: Build and run local development copy of MusicBrainz Server
services:
musicbrainz:
build:
context: build/musicbrainz-dev
args:
- POSTGRES_VERSION=${POSTGRES_VERSION:-16}
volumes:
- ${MUSICBRAINZ_SERVER_LOCAL_ROOT:?Missing path of MusicBrainz Server working copy}:/musicbrainz-server
- ./.musicbrainz-dev.bash_history.d/:/root/.bash_history.d/:z
environment:
- MUSICBRAINZ_CATALYST_DEBUG=${MUSICBRAINZ_CATALYST_DEBUG:-0}
- MUSICBRAINZ_DEVELOPMENT_SERVER=${MUSICBRAINZ_DEVELOPMENT_SERVER:-1}
- PERL_CPANM_HOME=${MUSICBRAINZ_PERL_CPANM_HOME:-/musicbrainz-server/.cpanm}
- MUSICBRAINZ_PERL_LOCAL_LIB=${MUSICBRAINZ_PERL_LOCAL_LIB:-/musicbrainz-server/perl_modules}
- MUSICBRAINZ_SERVER_PROCESSES=${MUSICBRAINZ_SERVER_PROCESSES:-1}
depends_on:
- validator
validator:
image: ghcr.io/validator/validator:21.7.10
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
restart: unless-stopped
expose:
- "8888"