appstore/apps/chevereto/server-latest/docker-compose.yml
2024-12-08 15:52:13 +08:00

38 lines
1.1 KiB
YAML

services:
chevereto:
image: "chevereto/chevereto:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- ${CHEVERETO_IMAGES_PATH}:/var/www/html/images/
- chevereto_data:/var/www/html/
environment:
- VIRTUAL_HOST=${CHEVERETO_HOSTNAME}
- LETSENCRYPT_HOST=${CHEVERETO_HOSTNAME}
- CHEVERETO_DB_HOST=${PANEL_DB_HOST}
- CHEVERETO_DB_USER=${PANEL_DB_USER}
- CHEVERETO_DB_PASS=${PANEL_DB_USER_PASSWORD}
- CHEVERETO_DB_PORT=${PANEL_DB_PORT}
- CHEVERETO_DB_NAME=${PANEL_DB_NAME}
- CHEVERETO_HEADER_CLIENT_IP=${CHEVERETO_HEADER_CLIENT_IP}
- CHEVERETO_HOSTNAME=${CHEVERETO_HOSTNAME}
- CHEVERETO_HOSTNAME_PATH=${CHEVERETO_HOSTNAME_PATH}
- CHEVERETO_ENCRYPTION_KEY=${ENCRYPTION_KEY}
- CHEVERETO_MAX_POST_SIZE=${CHEVERETO_MAX_POST_SIZE}
- CHEVERETO_MAX_UPLOAD_SIZE=${CHEVERETO_MAX_UPLOAD_SIZE}
- CHEVERETO_SERVICING=${CHEVERETO_SERVICING}
labels:
createdBy: "Apps"
volumes:
chevereto_data:
name: chevereto_data
networks:
1panel-network:
external: true