add volume back in

This commit is contained in:
Felix Ableitner 2020-12-09 14:56:45 +01:00
parent f9f95a2b92
commit bfd306e9de

View file

@ -3,10 +3,17 @@ name: default
steps: steps:
- name: test - name: test
image: plugins/docker image: compose:alpine-1.27.4
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands: commands:
- docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis - docker build . --file docker/prod/Dockerfile --tag dessalines/lemmy:travis
- docker-compose up -f docker/travis/docker-compose.yml -d - docker-compose up -f docker/travis/docker-compose.yml -d
- sleep 10 - sleep 10
- docker-compose down - docker-compose down
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock