Skip to content

Commit

Permalink
suitecrm
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Sep 27, 2024
1 parent 0d4ce03 commit a32ac73
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 0 deletions.
23 changes: 23 additions & 0 deletions apps/suitecrm/.env
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions apps/suitecrm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# CHANGELOG

2 changes: 2 additions & 0 deletions apps/suitecrm/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SuiteCRM

38 changes: 38 additions & 0 deletions apps/suitecrm/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
3 changes: 3 additions & 0 deletions apps/suitecrm/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# About

This folder includes files mount to container and used by Websoft9
22 changes: 22 additions & 0 deletions apps/suitecrm/variables.json
Original file line number Diff line number Diff line change
@@ -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/"
}
}

0 comments on commit a32ac73

Please sign in to comment.