updating docker image documentation
[cdm-server.git] / src / main / docker / production / docker-compose-dev.yml
1 version: '3'
2 services:
3 cdmserver:
4 ports:
5 - "8080:8080"
6 # makes the host available as localhost in the container so that the cdm can access the localhosts mysql server
7 network_mode: host
8 env_file:
9 - ./cdm-server.env
10 volumes:
11 # recommended settings for development
12 - type: bind
13 source: ~/ # user-home as a cdm-server-home => use the .cdmLibrary in user home
14 target: /data
15 - type: bind
16 source: ./ # log directly into the working directory
17 target: /log/cdmserver
18