-
Notifications
You must be signed in to change notification settings - Fork 27
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
1 parent
e5e0431
commit a77516b
Showing
8 changed files
with
84 additions
and
70 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,13 +1,11 @@ | ||
W9_ID=scratch | ||
W9_DIST=community | ||
W9_VERSION=v3.0 | ||
|
||
W9_REPO=websoft9dev/scratch | ||
|
||
#### -- Not allowed to edit below environments when recreate app based on existing data -- #### | ||
W9_ID=scratch | ||
W9_HTTP_PORT=80 | ||
W9_HTTP_PORT_SET=9001 | ||
|
||
W9_NETWORK=websoft9 | ||
W9_URL_REPLACE=false | ||
W9_URL=appname.example.com | ||
W9_DIST=community | ||
W9_NETWORK=websoft9 | ||
#### --------------------------------------------------------------------------------------- #### |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
{ | ||
"dist": "community", | ||
"version": [ | ||
"v2.3.13", | ||
"v3.0", | ||
"latest" | ||
] | ||
} | ||
|
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,18 +1,18 @@ | ||
W9_POWER_PASSWORD=uQ8E1wVTzG8SOk3! | ||
|
||
W9_DIST=community | ||
W9_VERSION=11.0.0 | ||
W9_ID=seafile | ||
W9_TIME_ZONE=Etc/UTC | ||
|
||
W9_REPO=seafileltd/seafile-mc | ||
#### -- Not allowed to edit below environments when recreate app based on existing data -- #### | ||
W9_ID=seafile | ||
W9_HTTP_PORT=80 | ||
W9_HTTP_PORT_SET=9001 | ||
|
||
W9_NETWORK=websoft9 | ||
W9_LOGIN_USER=[email protected] | ||
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD | ||
W9_URL_REPLACE=true | ||
W9_URL=appname.example.com | ||
W9_DIST=community | ||
W9_TIME_ZONE=Etc/UTC | ||
W9_DB_EXPOSE="mariadb" | ||
W9_DB_VERSION="10.5" | ||
W9_NETWORK=websoft9 | ||
#### --------------------------------------------------------------------------------------- #### |
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 |
---|---|---|
@@ -0,0 +1,69 @@ | ||
version: "3.8" | ||
services: | ||
mariadb: | ||
image: mariadb:10.5 | ||
container_name: $W9_ID-mariadb | ||
restart: unless-stopped | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=$W9_POWER_PASSWORD | ||
- MYSQL_LOG_CONSOLE=true | ||
volumes: | ||
- mysql_data:/var/lib/mysql | ||
|
||
memcached: | ||
image: memcached:1.6 | ||
container_name: $W9_ID-memcached | ||
restart: unless-stopped | ||
entrypoint: memcached -m 256 | ||
|
||
elasticsearch: | ||
image: seafileltd/elasticsearch-with-ik:5.6.16 | ||
container_name: $W9_ID-elasticsearch | ||
restart: unless-stopped | ||
environment: | ||
- discovery.type=single-node | ||
- bootstrap.memory_lock=true | ||
- "ES_JAVA_OPTS=-Xms1g -Xmx1g" | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
deploy: | ||
resources: | ||
limits: | ||
memory: 2G | ||
volumes: | ||
- elasticsearch_data:/usr/share/elasticsearch/data # Requested, specifies the path to Elasticsearch data persistent store. | ||
|
||
seafile-pro: | ||
image: docker.seafile.top/seafileltd/seafile-pro-mc:$W9_VERSION | ||
container_name: $W9_ID | ||
restart: unless-stopped | ||
ports: | ||
- "$W9_HTTP_PORT_SET:$W9_HTTP_PORT" | ||
# - "443:443" # If https is enabled, cancel the comment. | ||
volumes: | ||
- seafile_data:/shared # Requested, specifies the path to Seafile data persistent store. | ||
env_file: .env | ||
environment: | ||
- DB_HOST=$W9_ID-mariadb | ||
- DB_ROOT_PASSWD=$W9_POWER_PASSWORD | ||
- TIME_ZONE=$W9_TIME_ZONE | ||
- SEAFILE_ADMIN_EMAIL=$W9_LOGIN_USER | ||
- SEAFILE_ADMIN_PASSWORD=$W9_LOGIN_PASSWORD | ||
- SEAFILE_SERVER_LETSENCRYPT=false | ||
- SEAFILE_SERVER_HOSTNAME=$W9_URL | ||
depends_on: | ||
- mariadb | ||
- memcached | ||
- elasticsearch | ||
|
||
networks: | ||
default: | ||
name: ${W9_NETWORK} | ||
external: true | ||
|
||
volumes: | ||
seafile_data: | ||
elasticsearch_data: | ||
mysql_data: |
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