0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

🐳 Fix run-devenv on systems with SELinux

This sets the selinux label on bind mounts (https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label), which is necessary so that containers can read the files.

Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
This commit is contained in:
Andrés Maldonado 2022-02-24 22:28:41 +01:00
parent 9964360656
commit 5216471226

View file

@ -29,7 +29,7 @@ services:
volumes:
- "user_data:/home/penpot/"
- "${PWD}:/home/penpot/penpot"
- "${PWD}:/home/penpot/penpot:z"
ports:
- 3447:3447
@ -98,7 +98,7 @@ services:
volumes:
- "user_data:/home/penpot/"
- "${PWD}:/home/penpot/penpot"
- "${PWD}:/home/penpot/penpot:z"
ports:
- 6060:6060
@ -161,8 +161,8 @@ services:
- POSTGRES_USER=penpot
- POSTGRES_PASSWORD=penpot
volumes:
- ./files/postgresql.conf:/etc/postgresql.conf
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql
- ./files/postgresql.conf:/etc/postgresql.conf:z
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql:z
- postgres_data:/var/lib/postgresql/data
redis: