Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@meriororen
Last active November 10, 2019 23:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meriororen/1d24543961691aff45b640e4f3e1725a to your computer and use it in GitHub Desktop.
Save meriororen/1d24543961691aff45b640e4f3e1725a to your computer and use it in GitHub Desktop.
public
version: '2'
services:
shadow_tmp:
image: registry.gitlab.com/dekape/shadow/shadow:latest
container_name: shadow_tmp
environment:
- RUN_AS_TEMPORARY_CONTAINER=true
privileged: true
volumes:
- /srv:/srv #for database files
- /proc:/proc:rw #for shutdown
- /etc/timezone:/etc/timezone #for local time
- /etc/localtime:/etc/localtime #for local time
- /run/dbus:/run/dbus #for wpa_supplicant
- /dev/bus/usb:/dev/bus/usb #for usb devices
- /env:/env #for environment file
- /var/run/docker:/var/run/docker
- /var/run/docker.sock:/var/run/docker.sock
networks:
- temporary
networks:
temporary:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment