Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 815 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 815 Bytes

Simple Redis Service

redis up

Setup password

to set Redis password ,just put password value at .docker-compose/ directory as .redis_pass_file file, or use the sample:

cp .docker-compose/.redis_pass_file.local .docker-compose/.redis_pass_file

Clients

Clients on the same machine, can join this service by define an external network, for example when the client network name is sample-network it should define as:

networks:
    sample-network:
        external:
            name: redis_redis-network

The external network name, has two part, which are separated by an underline, redis is name of the repository, and redis-network is the network name of this repository