docker-compose.yml 380 B

123456789101112131415
  1. version: '3.7'
  2. services:
  3. wg-config:
  4. image: toastie89/wg-config
  5. build: ./build
  6. container_name: wg-config
  7. hostname: restic
  8. restart: on-failure:3
  9. volumes:
  10. - .:/opt/wg-config
  11. entrypoint: /bin/sh -c 'cd /opt/wg-config; exec bash'
  12. environment:
  13. - HOME=/opt/wg-config
  14. # For debugging, docker-compose run restic
  15. #entrypoint: /bin/sh