Skip to content

Commit 524080a

Browse files
fix(dev): resolve SELinux volume mount permissions for PostgreSQL and MinIO containers (#19)
1 parent 17c0109 commit 524080a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
- POSTGRES_PASSWORD=postgres
1414
- PGDATA=/var/lib/postgresql/data/pgdata
1515
volumes:
16-
- ./.postgres:/var/lib/postgresql/data
16+
- ./.postgres:/var/lib/postgresql/data:Z
1717
minio:
1818
container_name: craftplan-minio
1919
image: minio/minio:latest
@@ -29,7 +29,7 @@ services:
2929
MINIO_ACCESS_KEY: "minio"
3030
MINIO_SECRET_KEY: "minio123"
3131
volumes:
32-
- .minio:/data
32+
- .minio:/data:Z
3333
deploy:
3434
restart_policy:
3535
condition: on-failure

0 commit comments

Comments
 (0)