Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

wireguard override #128

Open
jodfie opened this issue Jul 8, 2020 · 0 comments
Open

wireguard override #128

jodfie opened this issue Jul 8, 2020 · 0 comments

Comments

@jodfie
Copy link
Contributor

jodfie commented Jul 8, 2020

Add wireguard override page

wireguard:
    image: linuxserver/wireguard
    hostname: ${DOCKERHOSTNAME}
    ports:
    - 51820:51820/udp
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    container_name: wireguard
    cap_add:
    - NET_ADMIN
    - SYS_MODULE
    environment:
    - PGID=${PGID}
    - PUID=${PUID}
    - TZ=${TZ}
    - SERVERURL=auto #optional
    - SERVERPORT=51820 #optional
    - PEERS=1 #optional
    - PEERDNS=auto #optional
    - INTERNAL_SUBNET=10.13.13.0 #optional
    logging:
      driver: json-file
      options:
        max-file: ${DOCKERLOGGING_MAXFILE}
        max-size: ${DOCKERLOGGING_MAXSIZE}
    restart: unless-stopped
    volumes:
    - /etc/localtime:/etc/localtime:ro
    - ${DOCKERCONFDIR}/wireguard:/config
    - /lib/modules:/lib/modules
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant