This commit is contained in:
Hubert Van De Walle 2020-05-07 22:22:19 +02:00
parent 2d97eec6bd
commit cf52525926
3 changed files with 1 additions and 10 deletions

View File

@ -12,8 +12,6 @@ services:
volumes:
- notes-caddy-data:/data
- notes-caddy-config:/config
depends_on:
- api
ports:
- 80:80
- 443:443

View File

@ -9,4 +9,4 @@ check_installed() {
check_installed docker-compose
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build

View File

@ -8,13 +8,6 @@ check_installed() {
}
check_installed docker-compose
check_installed mvn
docker-compose -f docker-compose.yml -f docker-compose.prod.yml down
# Generate fat jar
pushd api || exit 1
mvn clean package
popd || exit 1
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build