summaryrefslogtreecommitdiffhomepage
path: root/public/v2/apps/shopware.json
blob: c1594b17ec416475a945b386784ebde35f734da0 (plain)
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
{
    "captainVersion": "2",
    "documentation": "See https://hub.docker.com/r/shyim/shopware for tags and other variables",
    "displayName": "Shopware",
    "description": "Shopware is a trendsetting ecommerce platform to power your online business.",
    "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_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": "http://$$cap_appname-shopware.$$cap_root_domain",
                    "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": "Shopware is a trendsetting ecommerce platform to power your online business.",
        "end": "Shopware is successfully deployed. Please wait a minute before accessing the shop. For help and support checkout https://github.com/shyim/shopware-image"
    },
    "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": ""
        },
        {
            "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_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"
        }
    ]
}