Fix Docker volume permissions on some host platforms
Use named volumes instead of bind mounts.
This commit is contained in:
parent
4581900427
commit
a852ab75ae
@ -2,7 +2,7 @@ services:
|
||||
ldap:
|
||||
image: 4teamwork/389ds:latest
|
||||
volumes:
|
||||
- ./tmp/389ds:/data
|
||||
- 389ds-data:/data
|
||||
networks:
|
||||
- external_network
|
||||
- internal_network
|
||||
@ -20,7 +20,7 @@ services:
|
||||
healthcheck:
|
||||
test: ['CMD', 'redis-cli', 'ping']
|
||||
volumes:
|
||||
- ./tmp/redis:/data
|
||||
- redis-data:/data
|
||||
|
||||
web:
|
||||
build: .
|
||||
@ -81,7 +81,7 @@ services:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
volumes:
|
||||
- ./tmp/minio:/data
|
||||
- minio-data:/data
|
||||
|
||||
liquor-cabinet:
|
||||
image: gitea.kosmos.org/5apps/liquor-cabinet:2.0.0-beta.2
|
||||
@ -116,3 +116,11 @@ networks:
|
||||
external_network:
|
||||
internal_network:
|
||||
internal: true
|
||||
|
||||
volumes:
|
||||
389ds-data:
|
||||
driver: local
|
||||
minio-data:
|
||||
driver: local
|
||||
redis-data:
|
||||
driver: local
|
||||
|
Loading…
x
Reference in New Issue
Block a user