update: strapi docker image (#697)
* update: strapi docker image Update Strapi docker image since the official isn't maintained anymore. * update: strapi docker image Update Strapi docker image since the official isn't maintained anymore.
This commit is contained in:
parent
ca33c5ad8f
commit
bd28102aba
|
|
@ -3,11 +3,12 @@ services:
|
||||||
$$cap_appname:
|
$$cap_appname:
|
||||||
depends_on:
|
depends_on:
|
||||||
- $$cap_appname-mongo
|
- $$cap_appname-mongo
|
||||||
image: strapi/strapi:$$cap_strapi_version
|
image: naskio/strapi:$$cap_strapi_version
|
||||||
volumes:
|
volumes:
|
||||||
- $$cap_appname-data:/srv/app
|
- $$cap_appname-data:/srv/app
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
DATABASE_CLIENT: mongo
|
DATABASE_CLIENT: mongo
|
||||||
DATABASE_HOST: srv-captain--$$cap_appname-mongo
|
DATABASE_HOST: srv-captain--$$cap_appname-mongo
|
||||||
DATABASE_PORT: '27017'
|
DATABASE_PORT: '27017'
|
||||||
|
|
@ -33,7 +34,7 @@ caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_strapi_version
|
- id: $$cap_strapi_version
|
||||||
label: Strapi Version
|
label: Strapi Version
|
||||||
defaultValue: 3.5.4
|
defaultValue: 4.3.2
|
||||||
description: Check out the Docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags
|
description: Check out the Docker page for the valid tags https://hub.docker.com/r/strapi/strapi/tags
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- id: $$cap_mongo_version
|
- id: $$cap_mongo_version
|
||||||
|
|
@ -66,6 +67,6 @@ caproverOneClickApp:
|
||||||
Note when installing a plugin an error will be displayed. This error message is due to a restart on plugin installation.
|
Note when installing a plugin an error will be displayed. This error message is due to a restart on plugin installation.
|
||||||
This behaviour is normal. Refresh the page after few seconds (502 can happen if you refresh too fast).
|
This behaviour is normal. Refresh the page after few seconds (502 can happen if you refresh too fast).
|
||||||
displayName: ''
|
displayName: ''
|
||||||
isOfficial: true
|
isOfficial: false
|
||||||
description: The Open source Headless CMS Front-End Developers love. Manage your content. Distribute it anywhere
|
description: The Open source Headless CMS Front-End Developers love. Manage your content. Distribute it anywhere
|
||||||
documentation: Taken from https://github.com/strapi/strapi-docker/blob/master/examples/mongo/docker-compose.yml
|
documentation: Taken from https://github.com/strapi/strapi-docker/blob/master/examples/mongo/docker-compose.yml
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue