update README and docker-compose file

This commit is contained in:
Andy 2016-04-30 21:13:30 +02:00
parent 5be65ce5d6
commit 0e47537d7a
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
2 changed files with 15 additions and 1 deletions

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# keepass2 in Docker
Running keepass2 in Docker
## Launching keepass2
### with Docker Compose
You can use the following shortcut function and place it to your `~/.bash_aliases` file
```
function docker_helper() { (cd ~/docker/$1; docker-compose run --rm "$@" & disown) }
function keepass2() { (docker_helper $FUNCNAME $@) }
```

View File

@ -2,7 +2,7 @@ version: '2'
services:
keepass2:
build: ./
image: andrey01/keepass2
network_mode: bridge
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix