Skip to content
Snippets Groups Projects
Commit f2993781 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

Update README.md, update www.recolic.net docker image

parent 066e81b0
No related branches found
No related tags found
No related merge requests found
...@@ -99,18 +99,16 @@ run `ssh-keygen -A` by serial after setup the new machine. ...@@ -99,18 +99,16 @@ run `ssh-keygen -A` by serial after setup the new machine.
fresh deploy: fresh deploy:
201905 update: move all /var out. 201905 update: move all /var out.
201911 update: remove https, remove zhixiang, logs, reconstructed. 201911 update: remove https, remove zhixiang, logs, reconstructed.
202106 update: re-written from stretch, simple state-less dockerfile. https://git.recolic.net/root/scripts/-/tree/one/groundup/php-nginx
``` Put the website into /srv/html, and make sure `/srv/html/.config/nginx.conf` exists.
mkdir -p /srv/html
docker run -tid -p 3091:80 -v /srv/html:/var/www/html --name rwww --restart=always 600163736385.dkr.ecr.us-west-2.amazonaws.com/www.recolic.net /entry.sh
```
update config or certificate
``` ```
docker commit -m 'daily checkpoint' rwww 600163736385.dkr.ecr.us-west-2.amazonaws.com/www.recolic.net docker run -tid -p 3091:80 -v /srv/html:/var/www/html --name rwww --restart=always recolic/php-nginx /entry.sh
docker push 600163736385.dkr.ecr.us-west-2.amazonaws.com/www.recolic.net
``` ```
The docker image contains no config or certificate since 20210630.
cert issue: (note that currently mail and www are on same machine. ) cert issue: (note that currently mail and www are on same machine. )
``` ```
./acme.sh --issue -d recolic.net -d www.recolic.net -d dl.recolic.net -d mail.recolic.net -d recolic.org -d www.recolic.org -d dl.recolic.org -d mail.recolic.org --dns dns_cf ./acme.sh --issue -d recolic.net -d www.recolic.net -d dl.recolic.net -d mail.recolic.net -d recolic.org -d www.recolic.org -d dl.recolic.org -d mail.recolic.org --dns dns_cf
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment