Merge pull request #4183 from ywk253100/180130_selinux

Add SELinux label for all volumes
This commit is contained in:
Wenkai Yin 2018-01-30 16:53:01 +08:00 committed by GitHub
commit f85761021d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -24,8 +24,8 @@ services:
env_file: env_file:
./common/config/clair/postgres_env ./common/config/clair/postgres_env
volumes: volumes:
- ./common/config/clair/postgresql-init.d/:/docker-entrypoint-initdb.d - ./common/config/clair/postgresql-init.d/:/docker-entrypoint-initdb.d:z
- /data/clair-db:/var/lib/postgresql/data - /data/clair-db:/var/lib/postgresql/data:z
logging: logging:
driver: "syslog" driver: "syslog"
options: options:
@ -41,7 +41,7 @@ services:
depends_on: depends_on:
- postgres - postgres
volumes: volumes:
- ./common/config/clair:/config - ./common/config/clair:/config:z
logging: logging:
driver: "syslog" driver: "syslog"
options: options:

View File

@ -15,7 +15,7 @@ services:
- notary-sig - notary-sig
- harbor-notary - harbor-notary
volumes: volumes:
- ./common/config/notary:/config - ./common/config/notary:/config:z
depends_on: depends_on:
- notary-db - notary-db
- notary-signer - notary-signer
@ -34,7 +34,7 @@ services:
aliases: aliases:
- notarysigner - notarysigner
volumes: volumes:
- ./common/config/notary:/config - ./common/config/notary:/config:z
env_file: env_file:
- ./common/config/notary/signer_env - ./common/config/notary/signer_env
depends_on: depends_on:
@ -53,8 +53,8 @@ services:
aliases: aliases:
- mysql - mysql
volumes: volumes:
- ./common/config/notary/mysql-initdb.d:/docker-entrypoint-initdb.d - ./common/config/notary/mysql-initdb.d:/docker-entrypoint-initdb.d:z
- /data/notary-db:/var/lib/mysql - /data/notary-db:/var/lib/mysql:z
environment: environment:
- TERM=dumb - TERM=dumb
- MYSQL_ALLOW_EMPTY_PASSWORD="true" - MYSQL_ALLOW_EMPTY_PASSWORD="true"

View File

@ -76,7 +76,7 @@ services:
volumes: volumes:
- ./common/config/ui/app.conf:/etc/ui/app.conf:z - ./common/config/ui/app.conf:/etc/ui/app.conf:z
- ./common/config/ui/private_key.pem:/etc/ui/private_key.pem:z - ./common/config/ui/private_key.pem:/etc/ui/private_key.pem:z
- ./common/config/ui/certificates/:/etc/ui/certificates/ - ./common/config/ui/certificates/:/etc/ui/certificates/:z
- /data/secretkey:/etc/ui/key:z - /data/secretkey:/etc/ui/key:z
- /data/ca_download/:/etc/ui/ca/:z - /data/ca_download/:/etc/ui/ca/:z
- /data/psc/:/etc/ui/token/:z - /data/psc/:/etc/ui/token/:z