Update Peppermint (#1813)
* Update Peppermint * Update Peppermint * Update ports
This commit is contained in:
parent
47cfbc19b1
commit
00f87dc91b
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"$schema": "../schema.json",
|
||||
"name": "Peppermint",
|
||||
"port": 8176,
|
||||
"port": 8216,
|
||||
"available": true,
|
||||
"exposable": true,
|
||||
"id": "peppermint",
|
||||
"tipi_version": 3,
|
||||
"tipi_version": 5,
|
||||
"version": "latest",
|
||||
"categories": [
|
||||
"utilities"
|
||||
|
@ -20,7 +20,14 @@
|
|||
"label": "Peppermint DB Password",
|
||||
"min": 32,
|
||||
"env_variable": "PEPPERMINT_DB_PASSWORD"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "API URL",
|
||||
"required": true,
|
||||
"hint": "Can be an exposable domiain like peppermintapi.example.com or peppermintapi.tipi.local",
|
||||
"env_variable": "PEPPERMINT_DOMAIN_API"
|
||||
}
|
||||
],
|
||||
"supported_architectures": ["amd64"]
|
||||
"supported_architectures": ["amd64", "arm64"]
|
||||
}
|
||||
|
|
|
@ -5,14 +5,14 @@ services:
|
|||
image: pepperlabs/peppermint:latest
|
||||
container_name: peppermint
|
||||
environment:
|
||||
- PORT=5000
|
||||
- DB_USERNAME=tipi
|
||||
- DB_PASSWORD=${PEPPERMINT_DB_PASSWORD}
|
||||
- DB_HOST=peppermint-db
|
||||
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||
- API_URL={APP_PROTOCOL:-http}://${PEPPERMINT_DOMAIN_API}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${APP_PORT}:5000
|
||||
- ${APP_PORT}:3000
|
||||
- 8217:5003
|
||||
depends_on:
|
||||
- peppermint-db
|
||||
networks:
|
||||
|
@ -21,7 +21,7 @@ services:
|
|||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.peppermint-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.peppermint.loadbalancer.server.port: 5000
|
||||
traefik.http.services.peppermint.loadbalancer.server.port: 3000
|
||||
# Web
|
||||
traefik.http.routers.peppermint-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.peppermint-insecure.entrypoints: web
|
||||
|
@ -42,6 +42,29 @@ services:
|
|||
traefik.http.routers.peppermint-local.entrypoints: websecure
|
||||
traefik.http.routers.peppermint-local.service: peppermint
|
||||
traefik.http.routers.peppermint-local.tls: true
|
||||
#API URL
|
||||
traefik.http.middlewares.peppermint-api-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.peppermint-api.loadbalancer.server.port: 5003
|
||||
# Web
|
||||
traefik.http.routers.peppermint-api-insecure.rule: Host(`${PEPPERMINT_DOMAIN_API}`)
|
||||
traefik.http.routers.peppermint-api-insecure.entrypoints: web
|
||||
traefik.http.routers.peppermint-api-insecure.service: peppermint
|
||||
traefik.http.routers.ppeppermint-api-insecure.middlewares: peppermint-api-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.peppermint-api.rule: Host(`${PEPPERMINT_DOMAIN_API}`)
|
||||
traefik.http.routers.peppermint-api.entrypoints: websecure
|
||||
traefik.http.routers.peppermint-api.service: peppermint
|
||||
traefik.http.routers.peppermint-api.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.peppermint-api-local-insecure.rule: Host(`peppermintapi.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.peppermint-api-local-insecure.entrypoints: web
|
||||
traefik.http.routers.peppermint-api-local-insecure.service: peppermint
|
||||
traefik.http.routers.peppermint-api-local-insecure.middlewares: peppermint-api-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.peppermint-api-local.rule: Host(`peppermintapi.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.peppermint-api-local.entrypoints: websecure
|
||||
traefik.http.routers.peppermint-api-local.service: peppermint
|
||||
traefik.http.routers.peppermint-api-local.tls: true
|
||||
|
||||
peppermint-db:
|
||||
container_name: peppermint-db
|
||||
|
|
Loading…
Reference in New Issue
Block a user