mirror of
https://github.com/samply/bridgehead.git
synced 2025-07-12 06:00:21 +02:00
dnpm: Make volumes in /var/cache writable for containers
This commit is contained in:
committed by
tobiaskussel
parent
c530b55aa4
commit
98e0512a61
@ -12,13 +12,13 @@ services:
|
|||||||
MYSQL_ROOT_HOST: "%"
|
MYSQL_ROOT_HOST: "%"
|
||||||
MYSQL_ROOT_PASSWORD: ${DNPM_MYSQL_ROOT_PASSWORD}
|
MYSQL_ROOT_PASSWORD: ${DNPM_MYSQL_ROOT_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/cache/bridgehead/dnpm/mysql:/var/lib/mysql
|
- /var/cache/bridgehead/dnpm/mysql:/var/lib/mysql:Z
|
||||||
|
|
||||||
dnpm-authup:
|
dnpm-authup:
|
||||||
image: authup/authup:latest
|
image: authup/authup:latest
|
||||||
container_name: bridgehead-dnpm-authup
|
container_name: bridgehead-dnpm-authup
|
||||||
volumes:
|
volumes:
|
||||||
- /var/cache/bridgehead/dnpm/authup:/usr/src/app/writable
|
- /var/cache/bridgehead/dnpm/authup:/usr/src/app/writable:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
dnpm-mysql:
|
dnpm-mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@ -68,7 +68,7 @@ services:
|
|||||||
- AUTHUP_URL=robot://system:${DNPM_AUTHUP_SECRET}@http://dnpm-authup:3000
|
- AUTHUP_URL=robot://system:${DNPM_AUTHUP_SECRET}@http://dnpm-authup:3000
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/bridgehead/dnpm/config:/dnpm_config
|
- /etc/bridgehead/dnpm/config:/dnpm_config
|
||||||
- /var/cache/bridgehead/dnpm/backend-data:/dnpm_data
|
- /var/cache/bridgehead/dnpm/backend-data:/dnpm_data:Z
|
||||||
depends_on:
|
depends_on:
|
||||||
dnpm-authup:
|
dnpm-authup:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
Reference in New Issue
Block a user