-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
https-portal: | ||
build: ./ | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
# Redirect my.example.com to https:://letsencrypt.org | ||
# The upsteams will be available as <%= domain.upstream %> in Nginx config | ||
DOMAINS: 'my.example.domain -> https://letsencrypt.org, another.example.domain -> https://another.upstream' | ||
version: '3' | ||
|
||
services: | ||
https-portal: | ||
image: steveltn/https-portal:1 | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
# Redirect my.example.com to https:://letsencrypt.org | ||
# The upsteams will be available as <%= domain.upstream %> in Nginx config | ||
DOMAINS: 'example.com -> https://letsencrypt.org' | ||
STAGE: local | ||
volumes: | ||
- ./nginx-conf/example.com.conf.erb:/var/lib/nginx-conf/example.com.conf.erb:ro | ||
- ./nginx-conf/example.com.ssl.conf.erb:/var/lib/nginx-conf/example.com.ssl.conf.erb:ro | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
https-portal: | ||
image: steveltn/https-portal | ||
# You can build from source code rather than use the prebuilt image from Docker Hub. | ||
# build: ../.. | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
DOMAINS: 'example.com' | ||
PRODUCTION: 'true' | ||
version: '3' | ||
|
||
services: | ||
https-portal: | ||
image: steveltn/https-portal:1 | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
environment: | ||
DOMAINS: 'example.com' | ||
STAGE: local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
https-portal: | ||
image: steveltn/https-portal | ||
# You can build from source code rather than use the prebuilt image from Docker Hub. | ||
# build: ../.. | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
links: | ||
- wordpress | ||
# Restart https-portal on failure or after Docker host restart. | ||
restart: always | ||
environment: | ||
# Forward wordpress.example.com to the WordPress container. | ||
# You can set up multiple domains at once. | ||
DOMAINS: 'wordpress.example.com -> http://wordpress' | ||
version: '3' | ||
|
||
# Using staging server by default, for there is a rate limit on production. | ||
# Uncomment to use Let's Encrypt production server. | ||
# PRODUCTION: 'true' | ||
services: | ||
https-portal: | ||
image: steveltn/https-portal:1 | ||
ports: | ||
- 80:80 | ||
- 443:443 | ||
links: | ||
- wordpress | ||
# Restart https-portal on failure or after Docker host restart. | ||
restart: always | ||
environment: | ||
# Forward wordpress.example.com to the WordPress container. | ||
# You can set up multiple domains at once. | ||
DOMAINS: 'example.com -> http://wordpress' | ||
STAGE: local | ||
# Using staging server by default, for there is a rate limit on production. | ||
# Uncomment to use Let's Encrypt production server. | ||
# STAGE: production | ||
|
||
wordpress: | ||
image: wordpress | ||
links: | ||
- db:mysql | ||
wordpress: | ||
image: wordpress | ||
links: | ||
- db:mysql | ||
|
||
db: | ||
image: mariadb | ||
environment: | ||
MYSQL_ROOT_PASSWORD: '<a secure password>' | ||
db: | ||
image: mariadb | ||
environment: | ||
MYSQL_ROOT_PASSWORD: '<a secure password>' |