Add Z option for SELinux and add Podman option (#150)
* Add Z option to run docker on SELinux systems * Add podman option
This commit is contained in:
parent
9383d67f35
commit
7f25b689da
|
@ -5,8 +5,8 @@ services:
|
||||||
image: ghost:3.7.0
|
image: ghost:3.7.0
|
||||||
container_name: ghost
|
container_name: ghost
|
||||||
volumes:
|
volumes:
|
||||||
- ./..:/var/lib/ghost/content/themes/liebling
|
- ./..:/var/lib/ghost/content/themes/liebling:Z
|
||||||
- ./ghost.db:/var/lib/ghost/content/data/ghost.db
|
- ./ghost.db:/var/lib/ghost/content/data/ghost.db:Z
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=development
|
- NODE_ENV=development
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
"watch": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"watch": "NODE_ENV=development node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"hot": "NODE_ENV=development webpack-dev-server --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"docker-watch": "docker-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"docker-watch": "docker-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
"podman-watch": "podman-compose up -d && node node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
"deploy": "npm run production && node deploy/index.js",
|
"deploy": "npm run production && node deploy/index.js",
|
||||||
"production": "npm run build && npm run zip",
|
"production": "npm run build && npm run zip",
|
||||||
"build": "NODE_ENV=production node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
"build": "NODE_ENV=production node node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||||
|
|
Loading…
Reference in a new issue