Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
142 lines (137 sloc) 4.27 KB
apiVersion: v1
kind: ReplicationController
metadata:
name: $APP_NAME|default:phpbb| Enter your application name$
kuberdock:
packageID: 0
preDescription: |
You are installing the application [b]phpBB[/b].
[b]phpBB[/b] is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website.
All the components needed for this application correct work will also be installed: [b]MySQL[/b] server.
Choose the amount of resources or use recommended parameters set by default.
First choose package.
When you click "Order now", you will get to order processing page.
postDescription: |
You have installed [b]phpBB[/b]
Please find more information about phpBB software on the official website [url]https://www.phpbb.com/[/url]
To access [b]phpBB[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url]
You can access [b]MySQL[/b] using credentials:
[b]Host:[/b] 127.0.0.1
[b]Database:[/b] phpbb
[b]Login:[/b] phpbb
[b]Password:[/b] $MYSQL_USER_PASSWORD$
We recommend you to save the credentials.
Please, restart pod after installation.
# required for cPanel to do proxy to user`s domain
# proxy:
# root:
# container: phpbb
# domain: $APP_DOMAIN|default:user_domain_list|Select application domain$
appPackages:
- name: S
goodFor: beginner
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 0
containers:
- name: mysql
kubes: 6
- name: phpbb
kubes: 2
persistentDisks:
- name: mysql-persistent-storage
pdSize: 1
- name: phpbb-persistent-storage
pdSize: 1
- name: M
recommended: yes
goodFor: regular use
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 1
containers:
- name: mysql
kubes: 6
- name: phpbb
kubes: 2
persistentDisks:
- name: mysql-persistent-storage
pdSize: 1
- name: phpbb-persistent-storage
pdSize: 1
- name: L
goodFor: business
publicIP: true
pods:
-
name: $APP_NAME$
kubeType: 2
containers:
- name: mysql
kubes: 6
- name: phpbb
kubes: 2
persistentDisks:
- name: mysql-persistent-storage
pdSize: 2
- name: phpbb-persistent-storage
pdSize: 2
spec:
template:
metadata:
labels:
name: $APP_NAME$
spec:
volumes:
- name: mysql-persistent-storage
persistentDisk:
pdName: phpbb_mysql_$PD_RAND|default:autogen|PD rand$
- name: phpbb-persistent-storage
persistentDisk:
pdName: phpbb_www_$PD_RAND$
restartPolicy: "Always"
containers:
-
name: mysql
image: kuberdock/mysql:5.7
env:
- name: MYSQL_DATABASE
value: phpbb
- name: MYSQL_USER
value: phpbb
- name: MYSQL_PASSWORD
value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$
- name: MYSQL_ROOT_PASSWORD
value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$
- name: MYSQL_AUTO_MEMORY_ALLOCATE
value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$
ports:
- containerPort: 3306
readinessProbe:
tcpSocket:
port: 3306
initialDelaySeconds: 5
volumeMounts:
- mountPath: /var/lib/mysql
name: mysql-persistent-storage
-
name: phpbb
image: kuberdock/phpbb:3.1.9
ports:
- containerPort: 80
isPublic: True
readinessProbe:
httpGet:
path: /
scheme: HTTP
port: 80
initialDelaySeconds: 5
volumeMounts:
- mountPath: /var/www/html
name: phpbb-persistent-storage
kdCopyFromImage: true
workingDir: /var/www/html