Deploy: docker-compose.yml fuer ITSM-App
This commit is contained in:
parent
b2fb8bffcc
commit
ee3130e641
|
|
@ -0,0 +1,19 @@
|
|||
services:
|
||||
itsm:
|
||||
image: python:3.12-slim
|
||||
container_name: itsm_app
|
||||
command: ["sh", "/bootstrap.sh"]
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8090:8090"
|
||||
environment:
|
||||
ITSM_DATA_DIR: /data
|
||||
ITSM_USER: ${ITSM_USER:-moe}
|
||||
ITSM_PASSWORD: ${ITSM_PASSWORD:-}
|
||||
ITSM_SECRET_KEY: ${ITSM_SECRET_KEY:-}
|
||||
AES_DASHBOARD_URL: ${AES_DASHBOARD_URL:-http://host.docker.internal:8080}
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./bootstrap.sh:/bootstrap.sh:ro
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
Loading…
Reference in New Issue