-
Notifications
You must be signed in to change notification settings - Fork 13
/
caprover.json
123 lines (123 loc) · 4.8 KB
/
caprover.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"captainVersion": "2",
"documentation": "See https://github.com/shyim/shopware-image",
"displayName": "Shopware",
"description": "Shopware is a trendsetting ecommerce platform to power your online business. Our ecommerce solution offers the perfect combination of beauty & brains you need to build and customize a fully responsive online store.",
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname-db": {
"image": "mysql:5.7",
"notExposeAsWebApp": "true",
"volumes": [
"$$cap_appname-db-data:/var/lib/mysql"
],
"restart": "always",
"environment": {
"MYSQL_ROOT_PASSWORD": "$$cap_db_pass",
"MYSQL_DATABASE": "shopware",
"MYSQL_USER": "$$cap_db_user",
"MYSQL_PASSWORD": "$$cap_db_pass"
}
},
"$$cap_appname-shopware": {
"depends_on": [
"$$cap_appname-db"
],
"image": "shyim/shopware:$$cap_sw_version",
"restart": "always",
"environment": {
"DATABASE_HOST": "srv-captain--$$cap_appname-db:3306",
"DATABASE_PORT": "3306",
"DATABASE_URL": "mysql://$$cap_db_user:$$cap_db_pass@srv-captain--$$cap_appname-db:3306/shopware",
"DB_USER": "$$cap_db_user",
"DB_PASSWORD": "$$cap_db_pass",
"APP_URL": "$$cap_sw_host",
"APP_SECRET": "$$cap_app_scret",
"INSTANCE_ID": "$$cap_instance_id",
"MAILER_URL": "$$cap_mailer_url",
"INSTALL_LOCALE": "$$cap_sw_locale",
"INSTALL_CURRENCY": "$$cap_sw_currency",
"INSTALL_ADMIN_USERNAME": "$$cap_sw_admin_username",
"INSTALL_ADMIN_PASSWORD": "$$cap_sw_admin_password"
},
"volumes": [
"$$cap_appname-state:/state",
"$$cap_appname-custom-plugins:/var/www/html/custom/plugins",
"$$cap_appname-files:/var/www/html/files",
"$$cap_appname-logs:/var/www/html/var/logs",
"$$cap_appname-theme:/var/www/html/public/theme",
"$$cap_appname-media:/var/www/html/public/media",
"$$cap_appname-bundles:/var/www/html/public/bundles",
"$$cap_appname-sitemap:/var/www/html/public/sitemap",
"$$cap_appname-thumbnail:/var/www/html/public/thumbnail",
"$$cap_appname-jwt:/var/www/html/config/jwt"
]
}
}
},
"instructions": {
"start": "Get your Shopware 6 Shop running in few seconds",
"end": "Shopware is successfully installed"
},
"variables": [
{
"id": "$$cap_instance_id",
"label": "Instance ID (Can be generated with openssl rand -hex 32)",
"defaultValue": "10612e3916e153dd3447850e944a03fabe89440970295447a30a75b151bd844e"
},
{
"id": "$$cap_app_scret",
"label": "App Secret (Can be generated with openssl rand -hex 32)",
"defaultValue": "440dec3766de53010c5ccf6231c182acfc90bd25cff82e771245f736fd276518"
},
{
"id": "$$cap_db_user",
"label": "Database user",
"defaultValue": "shopwareuser",
"validRegex": "/^([a-zA-Z0-9])+$/"
},
{
"id": "$$cap_db_pass",
"label": "Database password",
"description": "",
"validRegex": "/.{1,}/"
},
{
"id": "$$cap_sw_version",
"label": "Shopware Version",
"defaultValue": "6.2.0",
"description": "Check out their Docker page for the valid tags https://hub.docker.com/r/shyim/shopware/tags/"
},
{
"id": "$$cap_sw_host",
"label": "Shop Host",
"defaultValue": "http://shop.example.com"
},
{
"id": "$$cap_mailer_url",
"label": "Mailer URL",
"defaultValue": "null://localhost"
},
{
"id": "$$cap_sw_locale",
"label": "Locale",
"defaultValue": "en-GB"
},
{
"id": "$$cap_sw_currency",
"label": "Currency",
"defaultValue": "EUR"
},
{
"id": "$$cap_sw_admin_username",
"label": "Admin Username",
"defaultValue": "admin"
},
{
"id": "$$cap_sw_admin_password",
"label": "Admin Password",
"defaultValue": "shopware"
}
]
}