mirror of
https://github.com/absmach/supermq.git
synced 2026-06-23 07:10:19 +00:00
@@ -95,6 +95,8 @@ services:
|
||||
- supermq-base-net
|
||||
volumes:
|
||||
- supermq-auth-redis-volume:/data
|
||||
- ./redis/redis.conf:/etc/redis/redis.conf:ro
|
||||
command: ["redis-server", "/etc/redis/redis.conf"]
|
||||
|
||||
auth:
|
||||
image: docker.io/supermq/auth:${SMQ_RELEASE_TAG}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# Copyright (c) Abstract Machines
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Enable AOF persistence
|
||||
appendonly yes
|
||||
appendfilename "appendonly.aof"
|
||||
appendfsync everysec
|
||||
|
||||
# Enable periodic snapshots
|
||||
save 300 10
|
||||
|
||||
# Persist data in Docker volume
|
||||
dir /data
|
||||
|
||||
Reference in New Issue
Block a user