docker-scripts/linux/ecosystem/nginx/1.21.3/main
2024-02-09 13:51:53 +03:00
..
pre nginx 1.21.3 2021-09-21 21:40:53 +03:00
.env nginx 1.21.3 2021-09-21 21:40:53 +03:00
docker-compose.yml yml compose version update 2024-02-09 13:51:53 +03:00
Dockerfile fixes 2022-10-16 14:35:24 +03:00
Makefile makefile updates 2022-09-09 15:47:09 +03:00
README.md nginx 1.21.3 2021-09-21 21:40:53 +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