-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev-mac.yml
45 lines (45 loc) · 1.17 KB
/
docker-compose-dev-mac.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# This is based on docker-compose.dev.yml, with the difference that
# the volumes are mounted using 'delegated', which is significantly
# faster on a mac (cutting startup time for the java app approximately
# in half)
# See https://docs.docker.com/docker-for-mac/osxfs-caching/
version: '3'
services:
mongodb:
image: mongo:4.4.13
volumes:
- ./mongo/data:/data/db
httpd:
build:
context: ./httpd
dockerfile: Dockerfile-static
ports:
- "8443:8443"
volumes:
- ./src/main/resources/:/usr/local/apache2/htdocs/:delegated
depends_on:
- server
server:
build:
context: ./server-dev
ports:
- "9999:9999"
volumes:
- ./target/:/server/:delegated
command: >
java
-Xdebug -Xrunjdwp:transport=dt_socket,address=*:9999,server=y,suspend=n
-jar /server/fapi-test-suite.jar
--fintechlabs.base_url=https://localhost.emobix.co.uk:8443
--fintechlabs.devmode=true
--fintechlabs.startredir=true
links:
- mongodb:mongodb
depends_on:
- mongodb
logging:
# limit logs retained on host
driver: "json-file"
options:
max-size: "500k"
max-file: "5"