forked from admin/ansible
deploy to NL vdsina
This commit is contained in:
@@ -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
|
||||
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user