docker-scripts/linux/ecosystem/nginx/latest/mainline/php
2023-07-25 21:08:47 +03:00
..
addons image rework 2023-07-25 21:08:47 +03:00
usr/lib/php image rework 2023-07-25 21:08:47 +03:00
.env image rework 2023-07-25 21:08:47 +03:00
docker-compose.yml improvements 2022-11-14 22:12:31 +03:00
docker-entrypoint.sh improvements 2022-11-14 22:12:31 +03:00
Dockerfile image rework 2023-07-25 21:08:47 +03:00
Makefile improvements 2022-11-14 22:12:31 +03:00
README.md improvements 2022-11-14 22:12:31 +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