anarchist117/ocbridge

By anarchist117

Updated 3 days ago

Image
Networking
0

2.3K

anarchist117/ocbridge repository overview

compose.yml

services:
  ocbridge:
    image: anarchist117/ocbridge:latest
    container_name: ocbridge
    pull_policy: always
    restart: always
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
      - /dev/vhost-net:/dev/vhost-net
    logging:
      driver: "json-file"
      options:
        max-size: "5m"
        max-file: "3"
    volumes:
      - ./certs:/certs:ro
    environment:
      - DOMAIN=vpn.domain.com
    networks:
      lan_net:
        ipv4_address: 192.168.1.254

networks:
  lan_net:
    driver: macvlan
    driver_opts:
      parent: eth0
    ipam:
      config:
        - subnet: 192.168.1.0/24
          gateway: 192.168.1.1

Tag summary

Content type

Image

Digest

sha256:e9c25f0ee

Size

11.6 MB

Last updated

3 days ago

docker pull anarchist117/ocbridge