-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose-dev.yaml
executable file
·36 lines (35 loc) · 1.09 KB
/
docker-compose-dev.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
29
30
31
32
33
34
35
36
### INSTRUCTIONS ###
## The purpose of this docker container is to simplify bringing up Gaps while developing.
# 1. Build Gaps Jar
# - ./minify && mvn clean install
# 2. Build docker image either of the two below should suffice
# - docker build -f Dockerfile.dev .
# - docker-compose -f docker-compose-dev.yaml build
# 3. Bring up development container in background. This will build a docker image if it does not already exist.
# - docker-compose up -d -f docker-compose-dev.yaml
#
# Optional: Uncomment & override env variables if needed
#
## To test any new changes do the following
# - build new jars
# - restart docker container; a rebuild is no longer necessary
version: "3"
services:
gaps:
container_name: gaps_dev
build:
context: .
dockerfile: Dockerfile.dev
#environment:
#gapsVersion: *
#springProfile: no-ssl-no-login
#javaInitialHeapSize: 150M
ports:
- 8484:8484
- 5005:5005
restart: unless-stopped
expose:
- "32400"
volumes:
- /etc/localtime:/etc/localtime:ro
- ./GapsWeb/target:/usr/app:ro