Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
55 lines (51 sloc) 1.04 KB
version: '3.7'
services:
init:
image: 'alpine:3.8'
command:
- sh
- '-c'
- 'chmod 770 /mnt/codez /mnt/secretz && chgrp users /mnt/codez /mnt/secretz'
volumes:
- codez:/mnt/codez
- secretz:/mnt/secretz
- /Volumes/backupz:/mnt/backupz
proxy:
image: 'qmxme/socat'
ports:
- "127.0.0.1:31194:31194"
networks:
- work
command: TCP-LISTEN:31194,fork TCP:172.29.0.1:1194
openvpn:
image: 'qmxme/openvpn'
volumes:
- ./config:/etc/openvpn
network_mode: "host"
cap_add:
- NET_ADMIN
wk:
image: 'qmxme/wk:latest'
volumes:
- codez:/mnt/codez
- secretz:/mnt/secretz
- /Volumes/backupz:/mnt/backupz
network_mode: "host"
hostname: "wk"
dind:
image: 'docker:stable-dind'
volumes:
- codez:/mnt/codez
- docker_cache:/var/lib/docker
network_mode: "host"
privileged: true
networks:
work:
ipam:
driver: default
config:
- subnet: 172.29.0.0/29
volumes:
codez:
secretz:
docker_cache: