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:
Nicola Sella 2020-03-25 21:01:10 +01:00 committed by GitHub
parent 9383d67f35
commit 7f25b689da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 4 deletions

View file

@ -5,8 +5,8 @@ services:
image: ghost:3.7.0
container_name: ghost
volumes:
- ./..:/var/lib/ghost/content/themes/liebling
- ./ghost.db:/var/lib/ghost/content/data/ghost.db
- ./..:/var/lib/ghost/content/themes/liebling:Z
- ./ghost.db:/var/lib/ghost/content/data/ghost.db:Z
environment:
- NODE_ENV=development
ports:

View file

@ -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",
"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",
"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",
"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",