Create compose.yaml
This commit is contained in:
parent
3eb243f3e6
commit
1bb0822ec1
1 changed files with 15 additions and 0 deletions
15
ubuntu/redis/compose.yaml
Normal file
15
ubuntu/redis/compose.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
redis:
|
||||
image: "redis:6.2-alpine"
|
||||
container_name: "redis"
|
||||
hostname: "redis"
|
||||
restart: always
|
||||
volumes:
|
||||
- redis:/data
|
||||
ports:
|
||||
- 6379:6379
|
||||
network_mode: bridge
|
||||
|
||||
volumes:
|
||||
redis:
|
||||
|
Loading…
Reference in a new issue