- Docker
- Docker compose
-
Clone the repository:
git clone https://github.com/netivism/neticrm-selfhost cd neticrm-selfhost
-
Copy the example environment file and configure it:
cp example.env .env
-
Edit the
.env
file to set your own environment variables:nano .env
Make sure to update the
MYSQL_ROOT_PASSWORD
,MYSQL_DATABASE
,MYSQL_USER
, andMYSQL_PASSWORD
with your own values. Also, changeADMIN_LOGIN_USER
andADMIN_LOGIN_PASSWORD
to prevent others from logging in as the administrator.- Start the Docker containers:
docker compose up -d
-
Access the application: After a while of installation. Open your web browser and navigate to
http://localhost:8080
(or the port you configured in the.env
file). -
Login to the system: There are two ways to get login user and password:
- Use
ADMIN_LOGIN_USER
andADMIN_LOGIN_PASSWORD
in.env
file to login. - Generate a one-time login link using the following command:
docker exec -it neticrm-php bash -c 'drush -l $DOMAIN uli'
- Use
-
Follow the on-screen instructions to complete the setup.
To stop the running containers, use:
docker compose down
- View logs:
docker compose logs -f
- Restart services:
docker compose restart
For more detailed information, refer to the official documentation or contact support.