Chevereto OG self-hosted video and image sharing
100K+
See our automated docker project configuration at chevereto/docker.
Refer to PURE DOCKER for a complete run guide.
When using CHEVERETO_SERVICING=docker (default) it behaves as a pure docker container, meaning that the application filesystem persists.
docker run -d \
--name chevereto \
-p 80:8080 \
-e CHEVERETO_DB_HOST=database \
-e CHEVERETO_DB_USER=chevereto \
-e CHEVERETO_DB_PASS=user_database_password \
-e CHEVERETO_DB_PORT=3306 \
-e CHEVERETO_DB_NAME=chevereto \
-e CHEVERETO_MAX_POST_SIZE=2G \
-e CHEVERETO_MAX_UPLOAD_SIZE=2G \
-v /var/www/html/images/ \
chevereto/chevereto:latest
When using CHEVERETO_SERVICING=server you need to mount the application directory to persist the filesystem upgrades.
docker run -d \
--name chevereto \
-p 80:8080 \
-e CHEVERETO_DB_HOST=database \
-e CHEVERETO_DB_USER=chevereto \
-e CHEVERETO_DB_PASS=user_database_password \
-e CHEVERETO_DB_PORT=3306 \
-e CHEVERETO_DB_NAME=chevereto \
-e CHEVERETO_MAX_POST_SIZE=2G \
-e CHEVERETO_MAX_UPLOAD_SIZE=2G \
-e CHEVERETO_SERVICING=server \
-v /var/www/html/images/ \
-v /var/www/html/ \
chevereto/chevereto:latest
services:
database:
image: mysql:8 #evergreen
networks:
- chevereto
volumes:
- database:/var/lib/mysql
restart: always
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"] # MySQL
interval: 10s
timeout: 5s
retries: 3
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: chevereto
MYSQL_USER: chevereto
MYSQL_PASSWORD: user_database_password
php:
image: chevereto/chevereto:latest # tweak with target image to run
networks:
- chevereto
volumes:
- storage:/var/www/html/images/
# - app:/var/www/html/ # uncomment when using CHEVERETO_SERVICING=server
restart: always
depends_on:
database:
condition: service_healthy
expose:
- 8080
environment:
CHEVERETO_DB_HOST: database
CHEVERETO_DB_USER: chevereto
CHEVERETO_DB_PASS: user_database_password
CHEVERETO_DB_PORT: 3306
CHEVERETO_DB_NAME: chevereto
CHEVERETO_HOSTNAME: hostname.com
CHEVERETO_HOSTNAME_PATH: /
CHEVERETO_HTTPS: 0
CHEVERETO_MAX_POST_SIZE: 2G
CHEVERETO_MAX_UPLOAD_SIZE: 2G
# CHEVERETO_SERVICING: server # uncomment to enable application filesystem upgrades
CHEVERETO_CACHE_DRIVER: redis
CHEVERETO_CACHE_HOST: redis
CHEVERETO_CACHE_PORT: 6379
CHEVERETO_CACHE_USER:
CHEVERETO_CACHE_PASSWORD: redis_password
redis:
image: redis:8
networks:
- chevereto
volumes:
- redis:/data
restart: always
command: redis-server --appendonly yes --requirepass redis_password
healthcheck:
test: ["CMD", "redis-cli", "-a", "redis_password", "ping"]
interval: 5s
timeout: 3s
retries: 5
volumes:
database:
storage:
redis:
# app: # uncomment when using CHEVERETO_SERVICING=server
networks:
chevereto:
Content type
Image
Digest
sha256:ba5bd78ef…
Size
388 MB
Last updated
10 days ago
docker pull chevereto/chevereto