mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-15 00:14:59 +00:00
17 lines
415 B
TOML
17 lines
415 B
TOML
[services.redis]
|
|
image = "redis:alpine"
|
|
container_name = "redis"
|
|
user = "root"
|
|
command = "redis-server /etc/redis.conf"
|
|
restart = "unless-stopped"
|
|
volumes = ["/docker/redis/redis.conf:/etc/redis.conf", "redis_temp:/tmp/redis"]
|
|
|
|
[services.redis_temp]
|
|
image = "busybox:stable"
|
|
container_name = "redis_temp"
|
|
command = "chmod -R 777 /tmp/redis"
|
|
volumes = ["redis_temp:/tmp/redis"]
|
|
|
|
[volumes.redis_temp]
|
|
external = true
|