https://github.com/stupidism/welunch-infra
https://github.com/stupidism/welunch-infra
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stupidism/welunch-infra
- Owner: Stupidism
- Created: 2019-07-17T14:46:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T16:59:46.000Z (almost 6 years ago)
- Last Synced: 2025-01-07T23:51:30.488Z (4 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# welunch-infra
## Get Startted
1. pull latest welunch-apple image
```
docker pull registry.cn-hangzhou.aliyuncs.com/stupidism/welunch-apple
```2. compose it up
```
cd apple
docker-compose up
```
or directly:```
docker-compose -f apple/docker-compose.yml up
```### Trouble Shooting
1. if you get this error:
```
nginx_1 | 2019/07/17 15:18:53 [emerg] 1#1: open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
nginx_1 | nginx: [emerg] open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
nginx_1 | 2019/07/17 15:18:56 [emerg] 1#1: open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
nginx_1 | nginx: [emerg] open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
nginx_1 | 2019/07/17 15:18:58 [emerg] 1#1: open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
nginx_1 | nginx: [emerg] open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/conf.d/app.conf:38
apple_nginx_1 exited with code 1
```You need to run `chmod +x init-letsencrypt.sh` and `sudo ./init-letsencrypt.sh`, as the blog [Nginx and Let’s Encrypt with Docker in Less Than 5 Minutes](https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71) says.