deploy: add redis image
All checks were successful
Build and test / Build (push) Successful in 2m19s
All checks were successful
Build and test / Build (push) Successful in 2m19s
This commit is contained in:
parent
ca2985abb4
commit
7ff91bab1d
@ -1,7 +1,7 @@
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres
|
||||
image: postgres:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "5432:5432"
|
||||
@ -20,3 +20,15 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- "6379:6379"
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
command: redis-server --save 20 1 --loglevel warning
|
||||
volumes:
|
||||
- ../../db_data_howmuch/redis/:/data
|
||||
|
Loading…
Reference in New Issue
Block a user