An open API service indexing awesome lists of open source software.

https://github.com/dlueth/qoopido.docker.memcached


https://github.com/dlueth/qoopido.docker.memcached

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# recommended directory structure #
Like with my other containers I encourage you to follow a unified directory structure approach to keep things simple & maintainable, e.g.:

```
project root
- docker-compose.yaml
- data
- memcached
- logs
```

# Example docker-compose.yaml #
```
memcached:
image: qoopido/memcached:latest
ports:
- "11211:11211"
volumes:
- ./data/memcached:/app/data
```

# Or start container manually #
```
docker run -d -P -t -i -p 11211:11211 \
-v [local path to data]:/app/data \
--name memcached qoopido/memcached:latest
```

# Configuration #
If you need a custom shell script to be run on start or stop (e.g. to set symlinks) you can do so by creating the file ```/app/config/up.sh``` or ```/app/config/down.sh```.