Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nginx-proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hebotek
nginx-proxy
Commits
6f7efa3d
Commit
6f7efa3d
authored
Jan 07, 2019
by
Florian Heder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial commit for nginx server and enabling ssl
parents
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
docker-compose.yml
docker-compose.yml
+58
-0
nginx.tmpl
nginx.tmpl
+0
-0
No files found.
docker-compose.yml
0 → 100644
View file @
6f7efa3d
version
:
'
3'
services
:
nginx
:
image
:
nginx:1.13.1
container_name
:
nginx-proxy
ports
:
-
"
80:80"
-
"
443:443"
volumes
:
-
conf:/etc/nginx/conf.d
-
vhost:/etc/nginx/vhost.d
-
html:/usr/share/nginx/html
-
certs:/etc/nginx/certs
labels
:
-
"
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
dockergen
:
image
:
jwilder/docker-gen:0.7.3
container_name
:
nginx-proxy-gen
depends_on
:
-
nginx
command
:
-notify-sighup nginx-proxy -watch -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
volumes
:
-
conf:/etc/nginx/conf.d
-
vhost:/etc/nginx/vhost.d
-
html:/usr/share/nginx/html
-
certs:/etc/nginx/certs
-
/var/run/docker.sock:/tmp/docker.sock:ro
-
./nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro
letsencrypt
:
image
:
jrcs/letsencrypt-nginx-proxy-companion
container_name
:
nginx-proxy-le
depends_on
:
-
nginx
-
dockergen
environment
:
NGINX_PROXY_CONTAINER
:
nginx-proxy
NGINX_DOCKER_GEN_CONTAINER
:
nginx-proxy-gen
volumes
:
-
conf:/etc/nginx/conf.d
-
vhost:/etc/nginx/vhost.d
-
html:/usr/share/nginx/html
-
certs:/etc/nginx/certs
-
/var/run/docker.sock:/var/run/docker.sock:ro
volumes
:
conf
:
vhost
:
html
:
certs
:
networks
:
default
:
external
:
name
:
nginx-proxy
nginx.tmpl
0 → 100644
View file @
6f7efa3d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment