Import snippet
https://git.rlab.io/company/website/snippets/6
-
Add Dockerfile -
Enable Gitlab-CI ( https://git.rlab.io/snippets/7 )
Expected Usage;
# docker-compose.yaml
version: '2'
services:
website:
image: nginx
updater:
image: dkr.rlab.io/system/compose-polling-updater:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./:/workdir:ro
workdir: /workdir
ports:
- 16433:16433
environment:
- SERVICE=website