This was the official Docker image builder of Cypht. It is being replaced:
NOTE: Please change usernames and passwords before using this docker-compose in your environment
version: '3'
services:
db:
image: mariadb:10
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root_password
- MYSQL_DATABASE=cypht
- MYSQL_USER=cypht
- MYSQL_PASSWORD=cypht_password
cypht:
image: sailfrog/cypht-docker:latest
volumes:
- ./cypht/users:/var/lib/hm3/users
ports:
- "80:80"
environment:
- CYPHT_AUTH_USERNAME=admin
- CYPHT_AUTH_PASSWORD=admin_password
- CYPHT_DB_CONNECTION_TYPE=host
- CYPHT_DB_HOST=db
- CYPHT_DB_NAME=cypht
- CYPHT_DB_USER=cypht
- CYPHT_DB_PASS=cypht_password
- CYPHT_SESSION_TYPE=DB
See hm3.sample.ini file for more information about each setting.