Skip to content

docker compose.yml

Thorsten Winkler edited this page Feb 14, 2021 · 2 revisions

docker-compose.yml

version: '3.7'

services:

  http-over-all:
    container_name: http-over-all
    image: 1thorsten/http-over-all
    restart: unless-stopped
    env_file:
      - example.env
      - crypt_key.env
    ports:
      # http/1.1
      - "8338:80"
      # http/2 ssl
      - "4334:443"
    cap_add:
      # necessary for SSH and SMB
      - SYS_ADMIN
      # necessary for SMB
      - DAC_READ_SEARCH
    devices:
      - "/dev/fuse:/dev/fuse"
    volumes: 
      - /sys/fs/cgroup:/sys/fs/cgroup:rw
      - /var/run/docker.sock:/var/run/docker.sock
      - git-repos:/remote/git
      - local-data:/local-data
      - nginx-cache:/nginx-cache
volumes: 
  git-repos:
  local-data:
  nginx-cache:
Clone this wiki locally