docker-scripts/balancer/latest
2020-01-31 02:13:38 +03:00
..
pre cleanup 2019-09-24 16:22:11 +03:00
.docker-repository.yml dir fixes 2019-07-17 18:17:18 +03:00
.dockerignore dir fixes 2019-07-17 18:17:18 +03:00
Dockerfile Update Dockerfile 2020-01-31 02:13:38 +03:00
Makefile rolled back labels 2020-01-31 02:05:03 +03:00
README.md dir fixes 2019-07-17 18:17:18 +03:00

Compose example

version: '3.7'
services:
  balancer:
    image: epicmorg/balancer
    restart: unless-stopped
    ports:
      - "0.0.0.0:80:80"
      - "0.0.0.0:443:443"
    volumes:
      - /etc/localtime:/etc/localtime
      - /etc/timezone:/etc/timezone
      - /etc/letsencrypt:/etc/letsencrypt
      - nginx:/etc/nginx
      - nginx-usr:/usr/share/nginx/html
      - /var/lib/nginx
#    extra_hosts:
#      - "example.com:192.168.0.11"
    depends_on:
      - websites
    tmpfs:
      - /tmp
volumes:
  nginx:
    external: true
  nginx-usr:
    external: true