Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c6ead60

Browse files
authored
Update README.md
1 parent b458836 commit c6ead60

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

‎README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
1-
# Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot from Docker compose #
1+
# Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot from Docker compose
22

3-
This repo to create Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot from Docker compose.
3+
```
4+
This repository is accompanied by a step-by-step guide on [Boilerplate for nginx with Let’s Encrypt on docker-compose](https://github.com/wmnnd/nginx-certbot).
5+
```
46

5-
-
7+
This repo to create Nginx, Php-fpm and MySQL/PostgreSQL stack with Certbot from docker-compose.yml file.
8+
9+
init-letsencrypt.sh fetches and ensures the renewal of a Let’s Encrypt certificate for one or multiple domains in a docker-compose setup with nginx. This is useful when you need to set up nginx as a reverse proxy for an application.
10+
11+
## Installation
12+
1. Install docker-compose.
13+
14+
2. Clone this repository: ``` git clone https://github.com/tobing/nginx-certbot-php-mysql-docker.git```
15+
16+
3. Modify configuration:
17+
Add domains and email addresses to init-letsencrypt.sh
18+
- Replace all occurrences of example.org with primary domain (the first one you added to init-letsencrypt.sh) in data/nginx/app.conf
19+
- Run the init script: ```./init-letsencrypt.sh```
20+
21+
4. Run the server: ```docker-compose up```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /