add redis volume back

This commit is contained in:
sadnub 2022-04-02 08:29:18 -04:00
parent 2c323a13c1
commit dc05d87b44
2 changed files with 10 additions and 2 deletions

View File

@ -120,8 +120,10 @@ services:
container_name: trmm-redis-dev
restart: always
user: 1000:1000
command: chown -R 1000 /data && redis-server
command: redis-server
image: redis:6.0-alpine
volumes:
- redis-data-dev:/data
networks:
dev:
aliases:
@ -151,6 +153,7 @@ services:
volumes:
- tactical-data-dev:/opt/tactical
- mesh-data-dev:/meshcentral-data
- redis-data-dev:/redis/data
- mongo-dev-data:/mongo/data/db
- ..:/workspace:cached
@ -233,6 +236,7 @@ volumes:
postgres-data-dev: null
mongo-dev-data: null
mesh-data-dev: null
redis-data-dev: null
networks:
dev:

View File

@ -18,6 +18,7 @@ volumes:
postgres_data: null
mongo_data: null
mesh_data: null
redis_data: null
services:
# postgres database for api service
@ -39,8 +40,10 @@ services:
container_name: trmm-redis
image: redis:6.0-alpine
user: 1000:1000
command: chown -R 1000 /data && redis-server
command: redis-server
restart: always
volumes:
- redis_data:/data
networks:
- redis
@ -69,6 +72,7 @@ services:
- tactical_data:/opt/tactical
- mesh_data:/meshcentral-data
- mongo_data:/mongo/data/db
- redis_data:/redis/data
# nats
tactical-nats: