taskwiki/docker-compose.yml
2019-02-22 21:00:44 -05:00

18 lines
473 B
YAML

version: '3'
services:
tests:
build: .
volumes:
- "/etc/group:/etc/group:ro"
- "/etc/passwd:/etc/passwd:ro"
- "/etc/shadow:/etc/shadow:ro"
- "/etc/sudoers.d:/etc/sudoers.d:ro"
- "/tmp/.X11-unix:/tmp/.X11-unix:rw"
- "$HOME/.Xauthority:/root/.Xauthority:rw"
- ".:/root/.vim/bundle/taskwiki:rw"
network_mode: "host"
environment:
- DISPLAY
security_opt:
- label=type:container_runtime_t
tty: true