mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
nginx testing
This commit is contained in:
parent
5a0078a3cd
commit
c7969435a7
1
balancer/experemental/.docker-repository.yml
Normal file
1
balancer/experemental/.docker-repository.yml
Normal file
@ -0,0 +1 @@
|
||||
repository: epicmorg/balancer
|
3
balancer/experemental/.dockerignore
Normal file
3
balancer/experemental/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
.git
|
||||
scripts
|
||||
.idea
|
17
balancer/experemental/Dockerfile
Normal file
17
balancer/experemental/Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM epicmorg/devel
|
||||
LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
ADD pre/ngninx.pre.tar.gz /
|
||||
|
||||
|
||||
|
||||
#FROM epicmorg/prod
|
||||
#LABEL maintainer="EpicMorg DevTeam, developer@epicm.org"
|
||||
#ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
#final config
|
||||
#VOLUME ["/var/cache/nginx"]
|
||||
#EXPOSE 80 443
|
||||
|
||||
#CMD ["nginx", "-g", "daemon off;"]
|
4
balancer/experemental/Makefile
Normal file
4
balancer/experemental/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
all: nginx
|
||||
|
||||
nginx:
|
||||
docker build --compress -t epicmorg/balancer:testing .
|
30
balancer/experemental/README.md
Normal file
30
balancer/experemental/README.md
Normal file
@ -0,0 +1,30 @@
|
||||
# Compose example
|
||||
|
||||
```yml
|
||||
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
|
||||
```
|
1
balancer/experemental/pre/luajit2-description-pak
Normal file
1
balancer/experemental/pre/luajit2-description-pak
Normal file
@ -0,0 +1 @@
|
||||
Custom build of luajit2 for Nginx module, by EpicMorg.
|
1
balancer/experemental/pre/nginx-description-pak
Normal file
1
balancer/experemental/pre/nginx-description-pak
Normal file
@ -0,0 +1 @@
|
||||
Custom build of Nginx with some modules by EpicMorg.
|
BIN
balancer/experemental/pre/ngninx.pre.tar.gz
Normal file
BIN
balancer/experemental/pre/ngninx.pre.tar.gz
Normal file
Binary file not shown.
@ -62,10 +62,49 @@ RUN apt-get update && \
|
||||
checkinstall \
|
||||
dh-make
|
||||
|
||||
##################################################################
|
||||
# IP2Location support
|
||||
##################################################################
|
||||
RUN cd /tmp && \
|
||||
git clone https://github.com/chrislim2888/IP2Location-C-Library.git ip2 && \
|
||||
cd /tmp/ip2 && \
|
||||
./build.sh && \
|
||||
checkinstall --pkgversion=$(date +%Y%m%d%H%M) && \
|
||||
rm -rfv /tmp/ip2
|
||||
|
||||
##################################################################
|
||||
# nginx deps
|
||||
##################################################################
|
||||
|
||||
RUN apt-get update && \
|
||||
apt install -y --allow-unauthenticated \
|
||||
zlibc \
|
||||
zlib1g \
|
||||
zlib1g-dev \
|
||||
libssl-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
libgd-dev \
|
||||
libpcre3-dev \
|
||||
libgeoip-dev \
|
||||
libkrb5-dev \
|
||||
libperl-dev \
|
||||
krb5-user \
|
||||
samba \
|
||||
luajit \
|
||||
liblua5.1-0-dev \
|
||||
libmaxminddb-dev \
|
||||
libpam0g-dev \
|
||||
libldap2-dev \
|
||||
libavformat-dev \
|
||||
libavfilter-dev \
|
||||
libswscale-dev \
|
||||
libavcodec-dev \
|
||||
libz-dev \
|
||||
libhiredis-dev \
|
||||
libzip-dev \
|
||||
libcrypto++-dev \
|
||||
libbz2-dev \
|
||||
tcl
|
||||
|
||||
##################################################################
|
||||
# other customisations
|
||||
|
Loading…
Reference in New Issue
Block a user