feature/plantit #5
@@ -1,7 +1,3 @@
|
||||
version: "3"
|
||||
|
||||
# optional ports are specified throughout for more advanced use cases.
|
||||
|
||||
services:
|
||||
app-service:
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -62,7 +62,7 @@ chat.home.domroese.eu:443 {
|
||||
}
|
||||
budibase.home.domroese.eu:443 {
|
||||
tls soenke@domroese.eu
|
||||
reverse_proxy 192.168.1.65:4002
|
||||
reverse_proxy 192.168.1.65:10000
|
||||
}
|
||||
|
||||
erugo.home.domroese.eu:443 {
|
||||
@@ -105,6 +105,16 @@ wallos.home.domroese.eu:443 {
|
||||
reverse_proxy 192.168.1.65:8282
|
||||
}
|
||||
|
||||
plantit.home.domroese.eu:443 {
|
||||
tls soenke@domroese.eu
|
||||
reverse_proxy 192.168.1.65:3632
|
||||
}
|
||||
|
||||
api.plantit.home.domroese.eu:443 {
|
||||
tls soenke@domroese.eu
|
||||
reverse_proxy 192.168.1.65:8632
|
||||
}
|
||||
|
||||
nas.home.domroese.eu {
|
||||
tls soenke@domroese.eu {
|
||||
client_auth {
|
||||
|
||||
@@ -84,10 +84,6 @@
|
||||
# 0.61 2024-07-27 fix networks + version 3.0
|
||||
# 0.62 2024-07-27 fix
|
||||
#####################################################################################
|
||||
|
||||
#the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
|
||||
#version: '3.0'
|
||||
|
||||
# networks
|
||||
# create a network 'guacnetwork_compose' in mode 'bridged'
|
||||
networks:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# Jenkins Sandbox
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
jenkins:
|
||||
image: jenkins/jenkins:lts
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
# For more extensive installation and update instructions, refer to the
|
||||
# documentation.
|
||||
|
||||
version: "3.4"
|
||||
services:
|
||||
broker:
|
||||
image: docker.io/library/redis:7
|
||||
|
||||
26
plantit/docker-compose.yaml
Normal file
26
plantit/docker-compose.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: plant-it
|
||||
services:
|
||||
server:
|
||||
image: msdeluise/plant-it-server:latest
|
||||
env_file: server.env
|
||||
depends_on:
|
||||
- db
|
||||
- cache
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "/home/soenke/docker-data/plantit/upload-dir:/upload-dir"
|
||||
- "/home/soenke/docker-data/plantit/certs:/certificates"
|
||||
ports:
|
||||
- "8632:8080"
|
||||
- "3632:3000"
|
||||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
env_file: server.env
|
||||
volumes:
|
||||
- "/home/soenke/docker-data/plantit/db:/var/lib/mysql"
|
||||
|
||||
cache:
|
||||
image: redis:7.2.1
|
||||
restart: always
|
||||
38
plantit/server.env
Normal file
38
plantit/server.env
Normal file
@@ -0,0 +1,38 @@
|
||||
#
|
||||
# DB
|
||||
#
|
||||
MYSQL_HOST=db
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USERNAME=plantit
|
||||
MYSQL_PSW=plantit123
|
||||
MYSQL_DATABASE=bootdb
|
||||
MYSQL_ROOT_PASSWORD=plantit123
|
||||
|
||||
#
|
||||
# JWT
|
||||
#
|
||||
JWT_SECRET=putTheSecretHere
|
||||
JWT_EXP=1
|
||||
|
||||
#
|
||||
# Server config
|
||||
#
|
||||
USERS_LIMIT=-1
|
||||
UPLOAD_DIR=/upload-dir
|
||||
API_PORT=8632
|
||||
TREFLE_KEY=
|
||||
LOG_LEVEL=DEBUG
|
||||
ALLOWED_ORIGINS=*
|
||||
|
||||
#
|
||||
# Cache
|
||||
#
|
||||
CACHE_TTL=86400
|
||||
CACHE_HOST=cache
|
||||
CACHE_PORT=6379
|
||||
|
||||
#
|
||||
# SSL
|
||||
#
|
||||
SSL_ENABLED=false
|
||||
CERTIFICATE_PATH=/certificates/
|
||||
Reference in New Issue
Block a user