diff --git a/apps/suitecrm/.env b/apps/suitecrm/.env new file mode 100644 index 000000000..d8cc5842c --- /dev/null +++ b/apps/suitecrm/.env @@ -0,0 +1,23 @@ +W9_REPO=bitnami/suitecrm +W9_DIST=community +W9_VERSION=8.6.2 +W9_POWER_PASSWORD=spJNF09yzwWJaG! + +W9_ID=suitecrm +W9_HTTP_PORT_SET=9001 +W9_HTTP_PORT=8080 +W9_LOGIN_USER=admin +W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD +W9_DB_EXPOSE="mariadb" +W9_URL_REPLACE=false +W9_URL=appname.example.com +W9_NETWORK=websoft9 + +# Below envs is from Bitnami SuiteCRM +SUITECRM_DATABASE_HOST=$W9_ID-mariadb +SUITECRM_DATABASE_PORT_NUMBER=3306 +SUITECRM_DATABASE_USER=suitecrm +SUITECRM_DATABASE_NAME=suitecrm +SUITECRM_DATABASE_PASSWORD=$W9_LOGIN_PASSWORD +SUITECRM_USERNAME=$W9_LOGIN_USER +SUITECRM_PASSWORD=$W9_LOGIN_PASSWORD \ No newline at end of file diff --git a/apps/suitecrm/CHANGELOG.md b/apps/suitecrm/CHANGELOG.md new file mode 100644 index 000000000..4591f22ad --- /dev/null +++ b/apps/suitecrm/CHANGELOG.md @@ -0,0 +1,2 @@ +# CHANGELOG + diff --git a/apps/suitecrm/Notes.md b/apps/suitecrm/Notes.md new file mode 100644 index 000000000..08232d5b3 --- /dev/null +++ b/apps/suitecrm/Notes.md @@ -0,0 +1,2 @@ +# SuiteCRM + diff --git a/apps/suitecrm/docker-compose.yml b/apps/suitecrm/docker-compose.yml new file mode 100644 index 000000000..4475c3888 --- /dev/null +++ b/apps/suitecrm/docker-compose.yml @@ -0,0 +1,38 @@ +# image: https://hub.docker.com/r/bitnami/suitecrm +# docs: https://github.com/bitnami/bitnami-docker-suitecrm + +version: '3.8' + +services: + suitecrm: + image: ${W9_REPO}:${W9_VERSION} + container_name: $W9_ID + restart: unless-stopped + ports: + - '${W9_HTTP_PORT_SET}:8080' + env_file: .env + volumes: + - suitecrm:/bitnami/suitecrm + depends_on: + - mariadb + + mariadb: + image: mariadb:10.6 + container_name: $W9_ID-mariadb + environment: + - MARIADB_ROOT_PASSWORD=$W9_POWER_PASSWORD + - MARIADB_DATABASE=suitecrm + - MARIADB_USER=suitecrm + - MARIADB_PASSWORD=$W9_POWER_PASSWORD + volumes: + - mysql_data:/var/lib/mysql + restart: unless-stopped + +networks: + default: + name: ${APP_NETWORK} + external: true + +volumes: + mysql_data: + suitecrm: \ No newline at end of file diff --git a/apps/suitecrm/src/README.md b/apps/suitecrm/src/README.md new file mode 100644 index 000000000..cdbd7a0b9 --- /dev/null +++ b/apps/suitecrm/src/README.md @@ -0,0 +1,3 @@ +# About + +This folder includes files mount to container and used by Websoft9 diff --git a/apps/suitecrm/variables.json b/apps/suitecrm/variables.json new file mode 100644 index 000000000..f4daea7eb --- /dev/null +++ b/apps/suitecrm/variables.json @@ -0,0 +1,22 @@ +{ + "name": "suitecrm", + "trademark": "SuiteCRM", + "release": true, + "fork_url": "https://github.com/bitnami/bitnami-docker-suitecrm", + "docker_url": "https://hub.docker.com/r/bitnami/suitecrm/tags", + "edition": [ + { + "dist": "community", + "version": [ + "8.6.2", + "latest" + ] + } + ], + "requirements": { + "cpu": "1", + "memory": "2", + "disk": "1", + "url": "https://screego.net/" + } +}