deploy to NL vdsina

This commit is contained in:
2023-03-11 20:55:38 +01:00
parent 97ad7ff288
commit 0bc2d16b97
3 changed files with 11 additions and 2 deletions
+8
View File
@@ -0,0 +1,8 @@
# Run compose by ssh
docker context create nlVdsina --docker "host=ssh://root@v1203607.hosted-by-vdsina.ru"
docker context use nlVdsina
docker-compose -c nlVdsina -f /media/DATA/src/ansible/docker-compose-gogs.yaml up -d
docker-compose -c nlVdsina -f /media/DATA/src/ansible/docker-compose-nginx-nossl.yaml up -d --build
+2 -1
View File
@@ -1,7 +1,8 @@
version: "3.8"
services:
gogs:
image: gogs/gogs-rpi
# image: gogs/gogs-rpi
image: gogs/gogs
ports:
- "23:22"
- "3000:3000"
+1 -1
View File
@@ -4,7 +4,7 @@ server {
client_max_body_size 100m;
server_name rudolf.com.ua;
location / {
proxy_pass http://192.168.17.5:3000;
proxy_pass http://89.22.231.77:3000;
}
# ssl_certificate /etc/letsencrypt/live/rudolf.com.ua/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/rudolf.com.ua/privkey.pem;