update README and docker-compose file

master
Andy 8 years ago
parent 5be65ce5d6
commit 0e47537d7a
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -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 $@) }
```

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

Loading…
Cancel
Save