Redis key-value store on FreeBSD.
services:
redis:
image: ghcr.io/daemonless/redis:latest
container_name: redis
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- /path/to/containers/redis:/config
ports:
- 6379:6379
restart: unless-stopped
podman run -d --name redis \
-p 6379:6379 \
-e PUID=@PUID@ \
-e PGID=@PGID@ \
-e TZ=@TZ@ \
-v /path/to/containers/redis:/config \
ghcr.io/daemonless/redis:latest
Access at: http://localhost:6379
- name: Deploy redis
containers.podman.podman_container:
name: redis
image: ghcr.io/daemonless/redis:latest
state: started
restart_policy: always
env:
PUID: "@PUID@"
PGID: "@PGID@"
TZ: "@TZ@"
ports:
- "6379:6379"
volumes:
- "/path/to/containers/redis:/config"
| Variable |
Default |
Description |
PUID |
1000 |
User ID for the application process |
PGID |
1000 |
Group ID for the application process |
TZ |
UTC |
Timezone for the container |
| Path |
Description |
/config |
Data and configuration directory |
| Port |
Protocol |
Description |
6379 |
TCP |
Redis port |
- Architectures: amd64
- User:
bsd (UID/GID set via PUID/PGID)
- Base: Built on
ghcr.io/daemonless/base (FreeBSD)