-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
websoft9
committed
Mar 9, 2025
1 parent
397b3b4
commit 17c4eb2
Showing
7 changed files
with
37 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,27 @@ | ||
W9_REPO="wordpress" | ||
W9_DIST=community | ||
W9_VERSION="latest" | ||
W9_REPO="openproject/openproject" | ||
W9_DIST='community' | ||
W9_VERSION='15' | ||
W9_POWER_PASSWORD='TwozwpTpNs0b#HFE' | ||
|
||
W9_POWER_PASSWORD="1PrMxExC45LsCT" | ||
|
||
# Environments which for user settings when create application | ||
# Named expression: W9_xxx_xxx_SET, xxx refer to file fields | ||
W9_HTTP_PORT_SET=9001 | ||
# W9_HTTPS_PORT_SET=9002 | ||
# W9_DB_PORT_SET=3306 | ||
# W9_SSH_PORT_SET=23 | ||
W9_KEY_SET="dfsjdkjf77xjxcjcj" | ||
|
||
#### -- Not allowed to edit below environments when recreate app based on existing data -- #### | ||
|
||
W9_ID=openproject | ||
|
||
# W9_HTTP_PORT or W9_HTTPS_PORT is need at leaset and used for proxy for web application | ||
# Some container (e.g teleport) need HTTPS access, then need to set this pra | ||
W9_HTTP_PORT=80 | ||
W9_HTTPS_PORT=81 | ||
|
||
W9_LOGIN_USER=admin | ||
# use https://1password.com/zh-cn/password-generator/ to genarate 14 bit password | ||
# this password can also use password file | ||
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD | ||
W9_ADMIN_PATH="/wp-login" | ||
W9_HTTP_PORT_SET='9001' | ||
|
||
# Container name's suffix must use one of the value | ||
W9_DB_EXPOSE="mysql,postgresql,mariadb,mongodb,redis" | ||
W9_KEY_SET='dfsjdkjf77xjxcjcj' | ||
W9_ID='openproject' | ||
|
||
# It is used when the application APP needs to set an external URL, which can be IP(or domain), IP:PORT | ||
# If have protocols, should be set it in the APP's ENV | ||
W9_URL=internet_ip:$W9_HTTP_PORT_SET | ||
# modifies W9_URL on init when it is true | ||
# This credential can not set by ENV | ||
W9_LOGIN_USER=admin | ||
W9_LOGIN_PASSWORD=admin | ||
W9_URL='internet_ip:$W9_HTTP_PORT_SET' | ||
W9_URL_REPLACE=true | ||
|
||
W9_NETWORK=websoft9 | ||
|
||
#### ----------------------------------------------------------------------------------------- #### | ||
|
||
|
||
# Below environment is created by this app | ||
|
||
WORDPRESS_DB_HOST=$W9_ID-mariadb | ||
WORDPRESS_DB_USER=wordpress #if use postgresql, it need set to postgres | ||
WORDPRESS_DB_PASSWORD=$W9_POWER_PASSWORD | ||
WORDPRESS_DB_NAME=wordpress | ||
|
||
# Below environment is created by this app: https://www.openproject.org/docs/installation-and-operations/configuration/environment/ | ||
|
||
#W9_NAME="" | ||
#W9_RCODE="" | ||
OPENPROJECT_SECRET_KEY_BASE=$W9_POWER_PASSWORD | ||
OPENPROJECT_HOST__NAME=$W9_URL | ||
OPENPROJECT_HTTPS=false | ||
OPENPROJECT_DEFAULT__LANGUAGE=en |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# Appname | ||
# OpenProject | ||
|
||
- This repoistory use all-in-one image for deployment. | ||
- default language is en, and user can change languages at console | ||
|
||
#### How to change to custom db? | ||
|
||
Refer to offcial docs [Configuring a custom database server](https://www.openproject.org/docs/installation-and-operations/configuration/database/) | ||
|
||
## FAQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters