File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ services:
2323 depends_on :
2424 nixopus-staging-db :
2525 condition : service_healthy
26+ nixopus-staging-redis :
27+ condition : service_healthy
2628
2729 nixopus-staging-db :
2830 image : postgres:14-alpine
@@ -86,6 +88,23 @@ services:
8688 networks :
8789 - nixopus-network
8890
91+ nixopus-staging-redis :
92+ image : redis:7-alpine
93+ container_name : nixopus-staging-redis
94+ restart : unless-stopped
95+ ports :
96+ - " ${REDIS_PORT:-6379}:6379"
97+ volumes :
98+ - ${NIXOPUS_HOME:-/etc/nixopus}/redis:/data
99+ command : redis-server --appendonly yes
100+ networks :
101+ - nixopus-network
102+ healthcheck :
103+ test : ["CMD", "redis-cli", "ping"]
104+ interval : 5s
105+ timeout : 5s
106+ retries : 5
107+
89108networks :
90109 nixopus-network :
91110 driver : bridge
You can’t perform that action at this time.
0 commit comments