-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontainer-compose.yaml
41 lines (39 loc) · 1.06 KB
/
container-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: "3.9"
services:
xdg-desktop-portal:
container_name: fedora-37-portals
image: "localhost/fedora-37-portals:latest"
restart: always
env_file:
- ./variables.env
environment:
- WAYLAND_DISPLAY
- DISPLAY
volumes:
- /tmp/bus:/tmp/bus:z
- ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY}:/tmp/run/wayland-0:z
- ${XDG_RUNTIME_DIR}/pipewire-0:/tmp/run/pipewire-0:z
security_opt:
- label=type:container_runtime_t
# FIXME
# https://github.com/containers/podman-compose/issues/554
pid: host
command: ["/usr/local/bin/cmd.sh"]
mutter:
container_name: fedora-37-mutter
image: "localhost/fedora-37-headless-mutter:latest"
restart: always
devices:
- /dev/dri
env_file:
- ./variables.env
environment:
- WAYLAND_DISPLAY
- DISPLAY
volumes:
- /tmp/bus:/tmp/bus:z
- ${XDG_RUNTIME_DIR}/pipewire-0:/tmp/run/pipewire-0:z
- /run/udev/tags:/run/udev/tags:ro
security_opt:
- label=type:container_runtime_t
command: ["/usr/local/bin/cmd.sh"]