Files
docker-compose/emerald-theory/chevereto/chevereto.yml
2025-08-18 21:03:34 -04:00

77 lines
1.6 KiB
YAML

---
# Chevereto
# Self-hosted Imgur clone
# Created by
# ↳ https://github.com/chevereto/docker
services:
chevereto-db:
image: mariadb:jammy
container_name: chevereto-db
restart: unless-stopped
healthcheck:
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3
networks:
- proxy
# ports:
# - 80:80
environment:
PUID: 1000
PGID: 1000
MYSQL_ROOT_PASSWORD: ${DB_ROOTPASSWORD}
MYSQL_DATABASE: chevereto
MYSQL_USER: chevereto
MYSQL_PASSWORD: ${DB_PASSWORD}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- chevereto-database:/var/lib/mysql
chevereto-server:
image: chevereto/chevereto:latest
container_name: chevereto-server
restart: unless-stopped
networks:
- proxy
# ports:
# - 80:80
environment:
PUID: 1000
PGID: 1000
CHEVERETO_DB_HOST: chevereto-db
CHEVERETO_DB_USER: chevereto
CHEVERETO_DB_PASS: ${DB_PASSWORD}
CHEVERETO_DB_PORT: 3306
CHEVERETO_DB_NAME: chevereto
CHEVERETO_HOSTNAME: photos.ignitedinspirations.net
CHEVERETO_HOSTNAME_PATH: /
CHEVERETO_HTTPS: 1
CHEVERETO_MAX_POST_SIZE: 1G
CHEVERETO_MAX_UPLOAD_SIZE: 1G
CHEVERETO_SERVICING: server
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- chevereto-storage:/var/www/html/images/
- chevereto-app:/var/www/html/
volumes:
database:
storage:
app:
networks:
proxy:
external: true
# Documentation available at https://v4-docs.chevereto.com/#install