Merge pull request #9 from xinity/master
Added gogs to Rancher Community Catalog
This commit is contained in:
commit
2561e875e0
14
templates/gogs/0/docker-compose.yml
Normal file
14
templates/gogs/0/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
gogs:
|
||||
image: gogs/gogs:latest
|
||||
ports:
|
||||
- ${http_port}:3000
|
||||
- ${ssh_port}:22
|
||||
links:
|
||||
- mysql:db
|
||||
|
||||
mysql:
|
||||
image: mysql:latest
|
||||
ports:
|
||||
- ${public_port}:3306
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${mysql_password}
|
33
templates/gogs/0/rancher-compose.yml
Normal file
33
templates/gogs/0/rancher-compose.yml
Normal file
@ -0,0 +1,33 @@
|
||||
.catalog:
|
||||
name: "Gogs"
|
||||
version: "v0.8.43"
|
||||
description: "A painless self-hosted Git service"
|
||||
uuid: gogs-0
|
||||
minimum_rancher_version: v0.51.0
|
||||
questions:
|
||||
- variable: public_port
|
||||
description: "public port to access the mysql server"
|
||||
label: "Public Port"
|
||||
required: true
|
||||
default: "3306"
|
||||
type: "int"
|
||||
- variable: http_port
|
||||
description: "http port to access gogs webui"
|
||||
label: "Http Port"
|
||||
required: true
|
||||
default: "10080"
|
||||
type: "int"
|
||||
- variable: ssh_port
|
||||
description: "ssh port to access gogs cli"
|
||||
label: "Ssh Port"
|
||||
required: true
|
||||
default: "222"
|
||||
type: "int"
|
||||
- variable: mysql_password
|
||||
description: "mysql root password"
|
||||
label: "Mysql Password"
|
||||
required: true
|
||||
default: "password"
|
||||
type: "string"
|
||||
|
||||
gogs:
|
BIN
templates/gogs/catalogIcon-gogs.png
Normal file
BIN
templates/gogs/catalogIcon-gogs.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
5
templates/gogs/config.yml
Normal file
5
templates/gogs/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: Gogs
|
||||
description: |
|
||||
A painless self-hosted Git service
|
||||
version: v0.8.43
|
||||
category: Git
|
Loading…
x
Reference in New Issue
Block a user