redis cmd
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
51dd7d1451
commit
a0cb796cec
|
@ -101,7 +101,7 @@ steps:
|
|||
- echo $username
|
||||
- docker login -u $username -p $password https://registry.xrg.io
|
||||
- docker-compose -f docker/docker-compose.prod.yml stop
|
||||
- docker-compose -f docker/docker-compose.prod.yml rm -f
|
||||
#- docker-compose -f docker/docker-compose.prod.yml rm -f
|
||||
- docker-compose -f docker/docker-compose.prod.yml pull
|
||||
- docker-compose -f docker/docker-compose.prod.yml up -d
|
||||
volumes:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
FROM redis:latest
|
||||
|
||||
COPY docker/redis.conf /usr/local/etc/redis/redis.conf
|
||||
|
||||
CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
|
|
@ -17,9 +17,11 @@ services:
|
|||
image: registry.xrg.io/xrges/redis:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./redis:/data
|
||||
command: [ "redis-server", "/usr/local/etc/redis/redis.conf" ]
|
||||
- redis_data:/data
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: xrges-network
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
|
|
Loading…
Reference in New Issue