docker-scripts/balancer
2019-04-10 00:51:03 +03:00
..
.docker-repository.yml readme 2018-09-18 16:16:46 +03:00
.dockerignore fixes 2018-09-18 16:27:24 +03:00
Dockerfile 04/10/2019 2019-04-10 00:51:03 +03:00
locale.gen balancer cosmic 2019-02-11 16:10:18 +03:00
Makefile init 2018-07-13 18:02:17 +03:00
README.md readme 2019-02-11 18:47:45 +03:00
sources.list nginx update 2019-02-11 18:15:45 +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