Authcore can be installed in most GNU/Linux distributions and in a number of cloud providers.
Deploying to Docker
A sample docker-compose file can be referenced in deployments/docker-compose.yml.
To use Authcore in Docker, you need to alter several value in docker-compose.yml.
DATABASE_URL refers to the mysql database with mysql credentials and database name.
ADMIN_PASSWORD refers to the admin user password that is used in first-time installation.
ADMIN_EMAIL or ADMIN_PHONE refers to the admin email / phone that is used for the admin account.
AUTHCORE_CONFIG refers to the config file that authcore uses and defaults to be conf/authcore.toml.
To use a custom config file, you must setup the volumes in docker-compose file correctly to map your config file (authcore.toml) to /app/conf as shown in the example docker-compose.yml.
For security, you MUST setup different variable in authcore.toml. Refer to the configuration section for more details.
Deploying to Kubernetes using Helm
Install Helm
Follow the instructions to install Helm. Please note: the default Helm installation is insuecre. Follow this additional guide to secure Helm.