Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: docker: Add SELinux labels for rootless Podman compatibility #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ services:
command: -c /etc/chirpstack
restart: unless-stopped
volumes:
- ./configuration/chirpstack:/etc/chirpstack
- ./lorawan-devices:/opt/lorawan-devices
- ./configuration/chirpstack:/etc/chirpstack:z
- ./lorawan-devices:/opt/lorawan-devices:z
depends_on:
- postgres
- mosquitto
Expand All @@ -25,7 +25,7 @@ services:
ports:
- 1700:1700/udp
volumes:
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge:z
environment:
- INTEGRATION__MQTT__EVENT_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/event/{{ .EventType }}
- INTEGRATION__MQTT__STATE_TOPIC_TEMPLATE=eu868/gateway/{{ .GatewayID }}/state/{{ .StateType }}
Expand All @@ -40,7 +40,7 @@ services:
ports:
- 3001:3001
volumes:
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge
- ./configuration/chirpstack-gateway-bridge:/etc/chirpstack-gateway-bridge:z
depends_on:
- mosquitto

Expand All @@ -57,24 +57,24 @@ services:
image: postgres:14-alpine
restart: unless-stopped
volumes:
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
- postgresqldata:/var/lib/postgresql/data
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d:Z
- postgresqldata:/var/lib/postgresql/data:Z
environment:
- POSTGRES_PASSWORD=root

redis:
image: redis:7-alpine
restart: unless-stopped
volumes:
- redisdata:/data
- redisdata:/data:z

mosquitto:
image: eclipse-mosquitto:2
restart: unless-stopped
ports:
- 1883:1883
volumes:
- ./configuration/mosquitto/config/:/mosquitto/config/
- ./configuration/mosquitto/config/:/mosquitto/config/:Z

volumes:
postgresqldata:
Expand Down