forked from metabrainz/musicbrainz-docker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
musicbrainz-dev.yml
28 lines (26 loc) · 953 Bytes
/
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
version: '3.1'
# Description: Build and run local development copy of MusicBrainz Server
services:
musicbrainz:
build:
context: build/musicbrainz-dev
volumes:
- ${MUSICBRAINZ_SERVER_LOCAL_ROOT:?Missing path of MusicBrainz Server working copy}:/musicbrainz-server
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"