Skip to content

Commit

Permalink
suitecrm
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 29, 2023
1 parent 410b9a7 commit 796476a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
18 changes: 8 additions & 10 deletions apps/strapi/.env
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
W9_POWER_PASSWORD=UGz0IARz117ssO%

# version tags refer to: https://hub.docker.com/r/strapi/strapi
W9_VERSION=3.6.8
W9_ID=strapi

W9_REPO=strapi/strapi
W9_DIST=community

W9_POWER_PASSWORD=UGz0IARz117ssO%
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=strapi
W9_HTTP_PORT=1337
W9_HTTP_PORT_SET=9001

W9_NETWORK=websoft9
W9_URL_REPLACE=false
W9_HTTP_PORT_SET=1337
W9_URL=appname.example.com
W9_DIST=community
W9_ADMIN_PATH="/admin"
W9_DB_EXPOSE="mysql"
W9_DB_VERSION="5.7"
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
3 changes: 1 addition & 2 deletions apps/strapi/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ services:
restart: unless-stopped

mysql:
image: mysql:5.7
image: mysql:$W9_DB_VERSION
container_name: ${W9_ID}-mysql
restart: unless-stopped
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
Expand All @@ -41,7 +41,6 @@ services:
MYSQL_USER: ${W9_ID}
MYSQL_PASSWORD: ${W9_POWER_PASSWORD}
MYSQL_ROOT_PASSWORD: ${W9_POWER_PASSWORD}
env_file: .env

networks:
default:
Expand Down
16 changes: 7 additions & 9 deletions apps/suitecrm/.env
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
W9_POWER_PASSWORD=spJNF09yzwWJaG!
W9_VERSION=8.2.4
W9_ID=suitecrm

W9_DIST=community
W9_REPO=docker.io/bitnami/suitecrm

W9_POWER_PASSWORD=spJNF09yzwWJaG!
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=suitecrm
W9_HTTP_PORT=8080
W9_HTTP_PORT_SET=9001

W9_NETWORK=websoft9
W9_LOGIN_USER=admin
W9_EMAIL=[email protected]

W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
W9_URL_REPLACE=false
W9_EMAIL=[email protected]
W9_URL=appname.example.com
W9_DIST=community
W9_DB_EXPOSE="mariadb"
W9_DB_VERSION="10.6"
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####

# Below envs is from Bitnami SuiteCRM
Expand Down
2 changes: 1 addition & 1 deletion apps/suitecrm/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
- mariadb

mariadb:
image: mariadb:10.6
image: mariadb:$W9_DB_VERSION
container_name: ${W9_ID}-mariadb
environment:
- MARIADB_ROOT_PASSWORD=${W9_POWER_PASSWORD}
Expand Down

0 comments on commit 796476a

Please sign in to comment.