Skip to content

Commit 0e324fb

Browse files
authored
Merge pull request #1480 from Websoft9/dev
Dev
2 parents 0c7003d + 6cb2981 commit 0e324fb

58 files changed

Lines changed: 185 additions & 453 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/compose_create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ source_code_url: "https://gitlab.com/websoft9/websoft9"
1818
# a brief and concise statementthat presents the main points for this application, shorter than 10 characters
1919
summary: "Open source Application self-hosting platform"
2020
# description of what the software does, shorter than 250 characters, sentence case
21-
description: "GitOps-driven, multi-application hosting for cloud servers and home servers, one-click deployment of 200+ open source apps."
21+
description: ""
2222
# list of license identifiers, see https://opensource.org/licenses for the full list of licenses
2323
licenses:
24-
- LGPL-3.0
24+
- MIT
2525
# (optional, true/false, default true) whether this application have Docker image
2626
Docker_image: true
2727
# (optional) link to an interactive demo of the software
@@ -59,4 +59,4 @@ Developer should develop this application's docker compose project at **Websoft9
5959
- [ ] system test
6060
- [ ] docs
6161
- [ ] add Notes content to docs
62-
- [ ] publish to RC release
62+
- [ ] publish to RC release

apps/airflow/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
W9_VERSION='2.10.4'
22
W9_DIST='community'
33
W9_REPO=apache/airflow
4-
W9_POWER_PASSWORD='gDm7t9ImuA!a162S'
4+
W9_POWER_PASSWORD='oqe!Qc7xO0cbPXzy'
55

66
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
77
W9_ID='airflow'
88
W9_HTTP_PORT=8080
99
W9_HTTP_PORT_SET='8080'
1010
W9_DB_EXPOSE="postgresql"
1111
W9_URL='appname.example.com'
12-
W9_RCODE='euJs9NMJgXjz7'
12+
W9_RCODE='CinbOFvGG7NAG'
1313
W9_LOGIN_USER=admin
1414
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
1515
W9_NETWORK=websoft9

apps/airflow/variables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"dist": "community",
1010
"version": [
11-
"3.0.0b4",
11+
"2.10.4",
1212
"latest"
1313
]
1414
}

apps/filepizza/.env

Lines changed: 7 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,14 @@
1-
W9_REPO="wordpress"
2-
W9_DIST=community
3-
W9_VERSION="latest"
4-
5-
W9_POWER_PASSWORD="1PrMxExC45LsCT"
6-
7-
# Environments which for user settings when create application
8-
# Named expression: W9_xxx_xxx_SET, xxx refer to file fields
9-
W9_HTTP_PORT_SET=9001
10-
# W9_HTTPS_PORT_SET=9002
11-
# W9_DB_PORT_SET=3306
12-
# W9_SSH_PORT_SET=23
13-
W9_KEY_SET="dfsjdkjf77xjxcjcj"
1+
W9_REPO="kern/filepizza"
2+
W9_DIST='community'
3+
W9_VERSION='latest'
4+
W9_HTTP_PORT_SET='9001'
5+
W9_HTTP_PORT=8080
146

157
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
16-
17-
W9_ID=filepizza
18-
19-
# W9_HTTP_PORT or W9_HTTPS_PORT is need at leaset and used for proxy for web application
20-
# Some container (e.g teleport) need HTTPS access, then need to set this pra
21-
W9_HTTP_PORT=80
22-
W9_HTTPS_PORT=81
23-
24-
W9_LOGIN_USER=admin
25-
# use https://1password.com/zh-cn/password-generator/ to genarate 14 bit password
26-
# this password can also use password file
27-
W9_LOGIN_PASSWORD=$W9_POWER_PASSWORD
28-
W9_ADMIN_PATH="/wp-login"
29-
30-
# Container name's suffix must use one of the value
31-
W9_DB_EXPOSE="mysql,postgresql,mariadb,mongodb,redis"
32-
33-
# It is used when the application APP needs to set an external URL, which can be IP(or domain), IP:PORT
34-
# If have protocols, should be set it in the APP's ENV
35-
W9_URL=internet_ip:$W9_HTTP_PORT_SET
36-
# modifies W9_URL on init when it is true
37-
W9_URL_REPLACE=true
38-
8+
W9_ID='filepizza'
9+
W9_URL='internet_ip:$W9_HTTP_PORT_SET'
3910
W9_NETWORK=websoft9
4011

4112
#### ----------------------------------------------------------------------------------------- ####
4213

43-
4414
# Below environment is created by this app
45-
46-
WORDPRESS_DB_HOST=$W9_ID-mariadb
47-
WORDPRESS_DB_USER=wordpress #if use postgresql, it need set to postgres
48-
WORDPRESS_DB_PASSWORD=$W9_POWER_PASSWORD
49-
WORDPRESS_DB_NAME=wordpress
50-
51-
52-
#W9_NAME=""
53-
#W9_RCODE=""

apps/filepizza/Dockerfile

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/filepizza/Notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# Appname
2-
## FAQ
1+
# filepizza
2+
# 使用需配置ssl证书

apps/filepizza/README.jinja2

Lines changed: 0 additions & 26 deletions
This file was deleted.

apps/filepizza/docker-compose.yml

Lines changed: 31 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,41 @@
1-
# image,docs: https://hub.docker.com/_/wordpress/
1+
# compose: https://github.com/kern/filepizza/blob/main/docker-compose.yml
2+
# image: https://hub.docker.com/r/kern/filepizza
23

34
services:
45

5-
wordpress:
6-
image: $W9_REPO:$W9_VERSION
7-
container_name: $W9_ID
8-
restart: unless-stopped
9-
#This is for access host from container
10-
# extra_hosts: ["host.docker.internal:host-gateway"]
11-
# command: |
12-
# /bin/bash -c "ping -c 3 host.docker.internal"
13-
logging:
14-
driver: "json-file"
15-
options:
16-
max-file: "5"
17-
max-size: 10m
18-
deploy:
19-
resources:
20-
limits:
21-
memory: 5g
22-
cpus: '0.7'
23-
ports:
24-
- $W9_HTTP_PORT_SET:80
25-
env_file: .env
26-
volumes:
27-
- wordpress:/var/www/html
28-
- ./src/php_exra.ini:/usr/local/etc/php/conf.d/php_exra.ini
29-
30-
mariadb:
31-
image: mariadb:10.4
32-
container_name: $W9_ID-mariadb
33-
restart: unless-stopped
34-
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --innodb_log_buffer_size=30M
6+
redis:
7+
container_name: $W9_ID-redis
8+
image: redis:latest
359
volumes:
36-
- mysql_data:/var/lib/mysql
10+
- redis_data:/data
11+
coturn:
12+
container_name: $W9_ID-coturn
13+
image: coturn/coturn
14+
# ports:
15+
# - 3478:3478
16+
# - 3478:3478/udp
17+
# - 5349:5349
18+
# - 5349:5349/udp
19+
# Relay Ports
20+
# - 49152-65535:49152-65535/udp
21+
environment:
22+
- DETECT_EXTERNAL_IP=yes
23+
- DETECT_RELAY_IP=yes
24+
command: -n --log-file=stdout --redis-userdb="ip=redis connect_timeout=30"
25+
filepizza:
26+
env_file: .env
27+
container_name: $W9_ID
28+
image: $W9_REPO:$W9_VERSION
29+
ports:
30+
- $W9_HTTP_PORT_SET:8080
3731
environment:
38-
MYSQL_DATABASE: $WORDPRESS_DB_NAME
39-
MYSQL_USER: $WORDPRESS_DB_USER
40-
MYSQL_PASSWORD: $W9_POWER_PASSWORD
41-
MYSQL_ROOT_PASSWORD: $W9_POWER_PASSWORD
32+
- PORT=8080
33+
- REDIS_URL=redis://$W9_ID-redis:6379
34+
depends_on:
35+
- redis
4236

4337
volumes:
44-
wordpress:
45-
mysql_data:
38+
redis_data:
4639

4740
networks:
4841
default:

apps/filepizza/src/nginx-proxy.conf.template

Lines changed: 0 additions & 57 deletions
This file was deleted.

apps/filepizza/src/php_exra.ini

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)