Last active
August 7, 2020 16:01
-
-
Save dnburgess/18b2b90ba73aedbb434e521388a1390a to your computer and use it in GitHub Desktop.
DB Tech Chevereto
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db: | |
image: mariadb | |
volumes: | |
- /database:/var/lib/mysql:rw # I haven't had good luck putting this database in a different directory | |
restart: unless-stopped | |
networks: | |
- private | |
environment: | |
MYSQL_ROOT_PASSWORD: chevereto_root | |
MYSQL_DATABASE: chevereto | |
MYSQL_USER: chevereto | |
MYSQL_PASSWORD: chevereto | |
chevereto: | |
depends_on: | |
- db | |
image: nmtan/chevereto | |
restart: unless-stopped | |
networks: | |
- private | |
environment: | |
CHEVERETO_DB_HOST: db | |
CHEVERETO_DB_USERNAME: chevereto | |
CHEVERETO_DB_PASSWORD: chevereto | |
CHEVERETO_DB_NAME: chevereto | |
CHEVERETO_DB_PREFIX: chv_ | |
volumes: | |
- /srv/dev-disk-by-label-ssd/conf/Chevereto/chevereto_images:/var/www/html/images:rw | |
- /srv/dev-disk-by-label-ssd/conf/php.ini:/usr/local/etc/php/php.ini:ro | |
ports: | |
- 8686:80 | |
networks: | |
private: | |
volumes: | |
database: | |
chevereto_images: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment