Skip to content

Fetch upstream #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 151 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
be49ec7
Add link to webtrees container and text fixes (#200)
mstroppel Sep 14, 2020
4eceee9
use stable docker images (#203)
bleissem Sep 14, 2020
f6ffeb9
remove beer pay
evertramos Jan 28, 2021
6b0e1cb
Add free open base scripts for nginx-proxy
evertramos Feb 21, 2021
5ea8f6a
Add basescripts for nginx-proxy
evertramos Feb 21, 2021
3e65ff5
Update basescript folder name
evertramos Feb 21, 2021
db7f940
Update readme with repo path
evertramos Feb 21, 2021
42e9213
Delete basescript directory
evertramos Feb 21, 2021
dd09a4f
Update README.md
evertramos Mar 10, 2021
bc9a623
Update README.md
evertramos Mar 10, 2021
4a9cf79
Update README.md
evertramos Mar 10, 2021
c79bc5d
Create FUNDING.yml
evertramos Mar 11, 2021
c0d0ce5
Update FUNDING.yml
evertramos Mar 11, 2021
b478147
Set version 2 to master (#250)
evertramos Mar 12, 2021
11d2362
change basescript to http
evertramos Mar 15, 2021
f1ae057
Update checksum .env.sample file
evertramos Mar 19, 2021
8c99506
Remove unused comments and fix typos
evertramos Mar 19, 2021
75566ad
Add simple tests
evertramos Mar 19, 2021
99443ad
Update source and remove old container
evertramos Mar 19, 2021
5770c33
add stop and remove stop from testing
evertramos Mar 19, 2021
7098d25
Update README.md
evertramos Mar 19, 2021
ede5221
Update README.md
evertramos Mar 19, 2021
a70cd38
remove container rm
evertramos Mar 19, 2021
6a98195
Merge remote-tracking branch 'origin/master'
evertramos Mar 19, 2021
6c50a79
Update basescript version
evertramos Mar 19, 2021
6f92665
Update ipv4 variable
evertramos Mar 19, 2021
4296a2d
Update docker-gen image
evertramos Mar 19, 2021
e9e717b
update nginx-proxy and letsencrypt service name variable
evertramos Mar 19, 2021
0ed88be
Update http port variable and set port to ipv6 option
evertramos Mar 19, 2021
5027cfe
update md5 for docker-compose
evertramos Mar 19, 2021
0d86250
set Mozilla-Modern if ssl policy is updated
evertramos Mar 19, 2021
2e544e6
set Mozilla-Intermediate if ssl policy as default
evertramos Mar 19, 2021
bbe1f1c
Update IPv6
evertramos Mar 19, 2021
7665c1d
#256 Fix issue IPv6
evertramos Mar 19, 2021
73bcb9b
Update FUNDING.yml
evertramos Mar 20, 2021
ef3b55b
Update FUNDING.yml
evertramos Mar 20, 2021
a4b79cd
Update README.md
evertramos Mar 20, 2021
77dce29
Update README.md
evertramos Mar 20, 2021
ba4ed60
Update FUNDING.yml
evertramos Mar 20, 2021
05c2eeb
Update README.md
evertramos Mar 20, 2021
6e3dbb2
Update README.md
evertramos Mar 20, 2021
bd82bb8
Update README.md
evertramos Mar 20, 2021
1c994c9
Create requirements.md
evertramos Mar 20, 2021
372069b
#3 Use docker info to check if docker is running
evertramos Mar 24, 2021
060311f
Merge remote-tracking branch 'origin/master'
evertramos Mar 24, 2021
53838a8
Update base script to check docker with docker info
evertramos Mar 24, 2021
cd349b1
Update issue templates
evertramos Mar 24, 2021
d363439
Delete ISSUE_TEMPLATE.md
evertramos Mar 24, 2021
95883c7
Update issue templates
evertramos Mar 24, 2021
cfde7b7
Update issue templates
evertramos Mar 24, 2021
87c217d
Update issue templates
evertramos Mar 24, 2021
08a8b71
On '--yes' skip docker image check
evertramos Mar 29, 2021
b2d72dc
Merge remote-tracking branch 'origin/master'
evertramos Mar 29, 2021
ecf9201
Update README.md
evertramos Mar 29, 2021
04a4611
Update CONTRIBUTING.md
evertramos Mar 30, 2021
ec21dcf
Create upgrade-guide.md
evertramos Mar 30, 2021
b2d5f6f
Update upgrade-guide.md
evertramos Mar 30, 2021
ad49a19
Upgrade guide
evertramos Mar 30, 2021
37704da
Update CONTRIBUTING.md
evertramos Mar 30, 2021
9560390
Our very first supporter!
evertramos Mar 30, 2021
beda2a9
Add sponsor.md page
evertramos Mar 30, 2021
6577df9
Update README.md
evertramos Mar 31, 2021
9e64bef
Fix argument check
evertramos Apr 1, 2021
54d078d
Update README.md
evertramos Apr 2, 2021
4f35b7d
Delete sponsor.md
evertramos Apr 2, 2021
097e696
Update README.md
evertramos Apr 2, 2021
79c6fb4
Update README.md
evertramos Apr 2, 2021
e9bdcdd
Update README.md
evertramos Apr 2, 2021
f815fc1
Update README.md
evertramos Apr 2, 2021
cfdc3a5
Update README.md
evertramos Apr 2, 2021
0ad7630
Update README.md
evertramos Apr 2, 2021
67f946f
Update upgrade-guide.md
evertramos Apr 4, 2021
0132928
Update bug_report.md
evertramos Apr 4, 2021
06eccec
Add IPv6 option to nginx proxy container
evertramos Apr 21, 2021
dd13a2c
Comment out and uncomment the 'IPv6' and 'IPV6' option in docker-comp…
evertramos Apr 21, 2021
e2cdcca
Update with latest version of basescript
evertramos Apr 21, 2021
fd6deac
Allow services name to use dash and underscore
evertramos Apr 21, 2021
22a7241
Add logging system to nginx-proxy
evertramos Apr 29, 2021
f76ec48
Add logging system to nginx-proxy-automation
evertramos Apr 29, 2021
4fb682f
update logging system
evertramos Apr 29, 2021
0253134
Update README.md
evertramos May 5, 2021
c018b36
Update messaging system with a more neat version
evertramos May 7, 2021
682281d
Merge remote-tracking branch 'origin/master'
evertramos May 7, 2021
eb39cdf
Update README.md
evertramos May 7, 2021
41d3e6f
Update README.md
evertramos May 7, 2021
e0eed02
Update basescript
evertramos May 7, 2021
b2efeb0
Merge remote-tracking branch 'origin/master'
evertramos May 7, 2021
a4b29ab
Update basescript
evertramos May 7, 2021
15fdbee
remove extra space
evertramos May 7, 2021
d286611
update echoerror function name
evertramos May 7, 2021
1ce60f9
Do not load .env file on start inicial check
evertramos May 10, 2021
6fda88d
Update checksum docker-compose
evertramos May 10, 2021
ed98f95
update basescript with correct .env replacement
evertramos May 10, 2021
cde4726
Add ipv4 subnet option
evertramos May 13, 2021
0d173d7
Add ipv4 subnet option in helper
evertramos May 13, 2021
215299c
Fix network creation
evertramos May 17, 2021
9f84c2c
Atualiza basescript
evertramos Jun 30, 2021
31ceb7d
Add default host
evertramos Jul 14, 2021
c29b266
Set localhost to default will not affect anything else
evertramos Jul 14, 2021
e01bfbd
Set default host only if option was informed
evertramos Jul 14, 2021
bac7cf3
Set default host short option and update documentation
evertramos Jul 14, 2021
9ce0320
Update uploadsize.conf
evertramos Jul 14, 2021
eb5bd1c
Add funcion to automate checksum update
evertramos Jul 21, 2021
298372d
Merge remote-tracking branch 'origin/master'
evertramos Jul 21, 2021
b07beea
Update basescript to the latest version
evertramos Jul 21, 2021
56cbfb7
Merge remote-tracking branch 'origin/master'
evertramos Jul 21, 2021
523bb97
Update checksum!
evertramos Jul 30, 2021
dc35fbc
Update basescript to the latest version
evertramos Jul 30, 2021
d44403d
Create oldReadme
evertramos Aug 3, 2021
35d075a
Update and rename oldReadme to README.md
evertramos Aug 3, 2021
afde529
Update README.md
evertramos Aug 3, 2021
40f472c
Update README.md
evertramos Aug 3, 2021
0e0a87e
Update README.md
evertramos Aug 3, 2021
12cd514
Update README.md
evertramos Aug 3, 2021
84a20fa
Update README.md
evertramos Aug 3, 2021
7b59f3a
Update README.md
evertramos Aug 3, 2021
5d669ff
Update README.md
evertramos Aug 5, 2021
753a8e9
Update README.md
evertramos Aug 9, 2021
95c9ac7
Launch of Server Automation
evertramos Aug 10, 2021
d48b247
#315 Fix sudoless actions in basescript and add ALLOW_RUN_WITH_SUDO o…
evertramos Sep 2, 2021
6f0b72a
Remove '$' from the commands and add sudo options
evertramos Sep 2, 2021
d788df9
Add code contributors
evertramos Sep 6, 2021
663147f
Update README.md
evertramos Sep 6, 2021
d80f9e7
Remove open collective button
evertramos Sep 6, 2021
9b9f705
Remove Open Collective
evertramos Sep 6, 2021
41e9935
#329 Update nginx-proxy images
evertramos Sep 29, 2021
4879d7d
#329 Update nginx-proxy image and versions
evertramos Sep 29, 2021
6500ded
#329 Update nginx-proxy image and versions (checksum)
evertramos Sep 29, 2021
e11a9bf
Update the network structure
evertramos Oct 29, 2021
25bb589
Update checksum
evertramos Nov 23, 2021
578ea0b
fix fresh-start crash with recent docker-compose (#341)
deltasquare4 Dec 20, 2021
79f3608
Update README.md
evertramos Feb 5, 2022
2020e9d
Update README.md
evertramos Feb 5, 2022
7aaa423
Update README.md
evertramos Feb 6, 2022
d096f64
Update README.md
evertramos Feb 6, 2022
431d575
Update README.md
evertramos Feb 6, 2022
8929d96
Update README.md
evertramos Feb 6, 2022
2875ea3
Docker rootless support (#311)
pathros Mar 13, 2022
3953465
Fix dockerrootless env update
evertramos Mar 17, 2022
5b66f76
Update checksum
evertramos Mar 17, 2022
3356364
Update README.md (#361)
thelfensdrfer Oct 24, 2022
0695391
Update basescript to latest version
evertramos Nov 22, 2022
56d1c5b
Update nginxproxy version
evertramos Nov 22, 2022
9ca4090
Skip tag listing and image check
evertramos Nov 22, 2022
4b20a9b
Update checksum
evertramos Nov 22, 2022
d7a6306
Update checksum
evertramos Nov 22, 2022
302edd6
Update basescript log permissions
evertramos Nov 27, 2022
b8cb850
Update docker compose to newest version
evertramos Nov 27, 2022
2deda16
Fix missing space in docker compose command
evertramos Nov 27, 2022
0c3a78a
update basescript
evertramos Nov 27, 2022
e4df610
Update compose start error message
evertramos Apr 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
174 changes: 109 additions & 65 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -1,102 +1,146 @@
#-----------------------------------------------------------------------
#
# docker-compose-letsencrypt-nginx-proxy-companion
# https://github.com/evertramos/nginx-proxy-automation
#
# A Web Proxy using docker with NGINX and Let's Encrypt
# Using the great community docker-gen, nginx-proxy and docker-letsencrypt-nginx-proxy-companion
# NGINX Proxy automation
#
# This is the .env file to set up your webproxy environment

#
# Your local containers NAME
# This is the .env file to set up nginx-proxy in your environment
#
NGINX_WEB=nginx-web
DOCKER_GEN=nginx-gen
LETS_ENCRYPT=nginx-letsencrypt
#-----------------------------------------------------------------------

#-----------------------------------------------------------------------
#
# Set the IP address of the external access Interface
# Script requirements
#
IP=0.0.0.0

#
# Default Network
#
NETWORK=webproxy
# PID file the running script
PID_FILE=.fresh_start.pid

# If you want to customize the created network, use the following variable
#NETWORK_OPTIONS="--opt encrypted=true"
# Allow run commands with sudo if needed
ALLOW_RUN_WITH_SUDO=false

#-----------------------------------------------------------------------
#
# Service Network (Optional)
# NGINX-Proxy containers/service
#
# In case you decide to add a new network to your services containers you can set this
# network as a SERVICE_NETWORK
# The variables below is used to set the containers name for the nginx-proxy
# and the image version for each service, please note that if you use our script
# we will replace the service name in docker-compose file with the container name
#
# [WARNING] This setting was built to use our `start.sh` script or in that special case
# you could use the docker-composer with our multiple network option, as of:
# `docker-compose -f docker-compose-multiple-networks.yml up -d`
#
#SERVICE_NETWORK=webservices
NGINX_WEB_SEVICE_NAME=proxy-web
NGINX_IMAGE_VERSION=stable-alpine

# If you want to customize the created network, use the following variable
#SERVICE_NETWORK_OPTIONS="--opt encrypted=true"
DOCKER_GEN_SEVICE_NAME=docker-gen
DOCKER_GEN_IMAGE_VERSION=latest

#
## NGINX file path (mount into the host)
# Here you can configure the path where nginx stores all the configurations and certificates.
# With the value ./nginx-data it creates a new sub-folder into your current path.
LETS_ENCRYPT_SEVICE_NAME=letsencrypt-companion
NGINX_PROXY_COMPANION_IMAGE_VERSION=2.0

NGINX_FILES_PATH=./nginx-data
#-----------------------------------------------------------------------
#
# IP address of the external interface
#
# The IP address below is used to bind your local services to the internet
# please make sure you use the correct address otherwise your proxy will not
# work properly, '0.0.0.0' will work, but we recommend to update this variable
#
IPv4=0.0.0.0
IPv6=::0

#-----------------------------------------------------------------------
#
# Default network name
#
# NGINX use special conf files
# The network name set below is used by the proxy to forward internet requests
# to the correct containers in your environment, so please make sure to add this
# network in all docker containers, otherwise it will break the proxy redirection
#
# In case you want to add some special configuration to your NGINX Web Proxy you could
# add your files to ./conf.d/ folder as of sample file 'uploadsize.conf'
NETWORK=proxy

#-----------------------------------------------------------------------
#
# [WARNING] This setting was built to use our `start.sh`.
# Data path for the nginx-proxy files
#
# [WARNING] Once you set this options to true all your files will be copied to data
# folder (./data/conf.d). If you decide to remove this special configuration
# you must delete your files from data folder ./data/conf.d.
# The variable below will be used to place all files used by the nginx-proxy
# please consider including this folder to your backup services, once all config
# files, settings and certificates will be placed here in case you need to recover
#
#USE_NGINX_CONF_FILES=true
NGINX_FILES_PATH=./data

#-----------------------------------------------------------------------
#
# Docker Logging Config
# Docker logging settings
#
# This section offers two options max-size and max-file, which follow the docker documentation
# as follow:
# Logs! Very important, right? But if you do not clean it up, it might causes you
# issues on disk space over time, so keep in mind to set this log options making sure
# you will have the least to audit, any further information on that please check the docs
#
# logging:
# driver: "json-file"
# options:
# max-size: "200k"
# max-file: "10"
# https://docs.docker.com/config/containers/logging/configure/
#
#NGINX_WEB_LOG_DRIVER=json-file
#NGINX_WEB_LOG_MAX_SIZE=4m
#NGINX_WEB_LOG_MAX_FILE=10
NGINX_WEB_LOG_DRIVER=json-file
NGINX_WEB_LOG_MAX_SIZE=4m
NGINX_WEB_LOG_MAX_FILE=10

#NGINX_GEN_LOG_DRIVER=json-file
#NGINX_GEN_LOG_MAX_SIZE=2m
#NGINX_GEN_LOG_MAX_FILE=10
NGINX_GEN_LOG_DRIVER=json-file
NGINX_GEN_LOG_MAX_SIZE=2m
NGINX_GEN_LOG_MAX_FILE=10

#NGINX_LETSENCRYPT_LOG_DRIVER=json-file
#NGINX_LETSENCRYPT_LOG_MAX_SIZE=2m
#NGINX_LETSENCRYPT_LOG_MAX_FILE=10
NGINX_LETSENCRYPT_LOG_DRIVER=json-file
NGINX_LETSENCRYPT_LOG_MAX_SIZE=2m
NGINX_LETSENCRYPT_LOG_MAX_FILE=10

#-----------------------------------------------------------------------
#
# Set the local exposed ports for http and https on the Host
# Docker ports that should be binded by the proxy
#
# NOTE: The default values are 80 and 443, only change this options if you really know what you are doing
# This option were added by a contributor long ago, so might be a very specific case
# where you might need to change http and https port number, keep in mind that changes
# on that setting might will break the auto renewing Let's Encrypt certificate services
#
#DOCKER_HTTP=80
#DOCKER_HTTPS=443

DOCKER_HTTP_=80
DOCKER_HTTPS=443

#-----------------------------------------------------------------------
#
# SSL policy (defaults to Mozilla-Intermediate)
#
# Set the SSL policy (defaults to Mozilla-Intermediate).
# See available options here: https://github.com/jwilder/nginx-proxy#how-ssl-support-works
# This also was added by a contributor which sets the default cipher configuration
# to the nginx-proxy container, which has the 'Mozilla-Intermediate' as default value
# plase make sure you take a good look at options in the url below before messing around
#
# https://github.com/nginx-proxy/nginx-proxy#how-ssl-support-works
#
#SSL_POLICY=Mozilla-Modern

#-----------------------------------------------------------------------
#
# Let's Encrypt default email
#
# You might want to inform a default email to Let's Encrypt certificate once it is
# a required parameter in order to issue the new certificate. This information will be
# replaced by the LETSENCRYPT_EMAIL environment varibale present in your docker container
#
DEFAULT_EMAIL=mail@yourdomain.tld

#-----------------------------------------------------------------------
#
# Default host
#
# Nginx-proxy will then redirect all requests to a container where you have set
# "VIRTUAL HOST" set to "DEFAULT HOST", if they don't match any (other) container
# You might want to check the link below for more information:
# https://github.com/nginx-proxy/nginx-proxy#default-host
#
DEFAULT_HOST=

#-----------------------------------------------------------------------
#
# Docker Rootless
#
# In case you want to use this proxy on Docker Rootless (DR) and you also have followed
# the DR installation from the official documentation (https://docs.docker.com/engine/security/rootless/)
# Set the following value of the DOCKER_HOST variable that you got in the final info messages after executing
# the "$ dockerd-rootless-setuptool.sh install" command.
# For example DOCKER_HOST_PATH=$XDG_RUNTIME_DIR/docker.sock
# If you are not using Docker Rootless, leave this variable blank
DOCKER_HOST_ROOTLESS_PATH=
11 changes: 9 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
### Contributions
## Contributions

All contributions regarding the `nginx.tmpl` should be suggested or implemented in the [nginx-proxy repository](https://raw.githubusercontent.com/jwilder/nginx-proxy).
### NGINX template file (nginx.tmpl)

All contributions regarding the `nginx.tmpl` should be suggested or implemented in the [nginx-proxy repository](https://github.com/nginx-proxy/nginx-proxy).

We always use the latest version of this file:

[https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl](https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl)

### Pull requests

Sometimes it's better to start a discussion or an issue to find out the best solution of suggestion before sending a pull request... and if you do so, please test it with the automation script before sending new code.


Thanks!
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: evertramos
open_collective: # nginx-proxy-automation
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: ''
assignees: evertramos

---

**Check [Discussions](https://github.com/evertramos/nginx-proxy-automation/discussions) to see if there is an answer might help you before opening an issue**

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If the error is in one of the scripts, an screen show will help a lot to identify which part of the script the error occurred.

**Server info (please complete the following information):**
- Linux release: [e.g. Ubuntu 20.10]
- Server type [e.g. vps, Raspberry Pi]
- Docker version [e.g. 20.10]
- docker-compose version [e.g. 1.27]

**Logs (please send some logs):**
- nginx container
- letsencrypt container (if related to ssl)

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: evertramos

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
Loading