mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-28 23:09:37 +02:00
Merge pull request #1493 from knackworks/volumes-selinux
label volumes for SELinux
This commit is contained in:
commit
e5fae8d4ff
|
@ -5,7 +5,7 @@ services:
|
||||||
container_name: harbor-log
|
container_name: harbor-log
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/log/harbor/:/var/log/docker/
|
- /var/log/harbor/:/var/log/docker/:z
|
||||||
ports:
|
ports:
|
||||||
- 1514:514
|
- 1514:514
|
||||||
registry:
|
registry:
|
||||||
|
@ -13,8 +13,8 @@ services:
|
||||||
container_name: registry
|
container_name: registry
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/registry:/storage
|
- /data/registry:/storage:z
|
||||||
- ./common/config/registry/:/etc/registry/
|
- ./common/config/registry/:/etc/registry/:z
|
||||||
environment:
|
environment:
|
||||||
- GODEBUG=netdns=cgo
|
- GODEBUG=netdns=cgo
|
||||||
command:
|
command:
|
||||||
|
@ -31,7 +31,7 @@ services:
|
||||||
container_name: harbor-db
|
container_name: harbor-db
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/database:/var/lib/mysql
|
- /data/database:/var/lib/mysql:z
|
||||||
env_file:
|
env_file:
|
||||||
- ./common/config/db/env
|
- ./common/config/db/env
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -48,9 +48,9 @@ services:
|
||||||
- ./common/config/ui/env
|
- ./common/config/ui/env
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./common/config/ui/app.conf:/etc/ui/app.conf
|
- ./common/config/ui/app.conf:/etc/ui/app.conf:z
|
||||||
- ./common/config/ui/private_key.pem:/etc/ui/private_key.pem
|
- ./common/config/ui/private_key.pem:/etc/ui/private_key.pem:z
|
||||||
- /data:/harbor_storage
|
- /data:/harbor_storage:z
|
||||||
depends_on:
|
depends_on:
|
||||||
- log
|
- log
|
||||||
logging:
|
logging:
|
||||||
|
@ -65,8 +65,8 @@ services:
|
||||||
- ./common/config/jobservice/env
|
- ./common/config/jobservice/env
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /data/job_logs:/var/log/jobs
|
- /data/job_logs:/var/log/jobs:z
|
||||||
- ./common/config/jobservice/app.conf:/etc/jobservice/app.conf
|
- ./common/config/jobservice/app.conf:/etc/jobservice/app.conf:z
|
||||||
depends_on:
|
depends_on:
|
||||||
- ui
|
- ui
|
||||||
logging:
|
logging:
|
||||||
|
@ -79,7 +79,7 @@ services:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./common/config/nginx:/etc/nginx
|
- ./common/config/nginx:/etc/nginx:z
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
- 443:443
|
- 443:443
|
||||||
|
|
Loading…
Reference in New Issue
Block a user