mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02: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:
parent
9964360656
commit
5216471226
1 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "user_data:/home/penpot/"
|
- "user_data:/home/penpot/"
|
||||||
- "${PWD}:/home/penpot/penpot"
|
- "${PWD}:/home/penpot/penpot:z"
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 3447:3447
|
- 3447:3447
|
||||||
|
@ -98,7 +98,7 @@ services:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "user_data:/home/penpot/"
|
- "user_data:/home/penpot/"
|
||||||
- "${PWD}:/home/penpot/penpot"
|
- "${PWD}:/home/penpot/penpot:z"
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 6060:6060
|
- 6060:6060
|
||||||
|
@ -161,8 +161,8 @@ services:
|
||||||
- POSTGRES_USER=penpot
|
- POSTGRES_USER=penpot
|
||||||
- POSTGRES_PASSWORD=penpot
|
- POSTGRES_PASSWORD=penpot
|
||||||
volumes:
|
volumes:
|
||||||
- ./files/postgresql.conf:/etc/postgresql.conf
|
- ./files/postgresql.conf:/etc/postgresql.conf:z
|
||||||
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql
|
- ./files/postgresql_init.sql:/docker-entrypoint-initdb.d/init.sql:z
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue