49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
ACTUALIZAR CON IMAGEN CONSTRUIDA EN OMV
|
|
=======================================
|
|
|
|
COMANDOS PARA OMV
|
|
=================
|
|
docker stop turnosxpress
|
|
docker rm turnosxpress
|
|
docker rmi turnosxpress:latest
|
|
clear
|
|
docker build -t turnosxpress .
|
|
docker save turnosxpress:latest -o turnosxpress.tar
|
|
ls
|
|
gzip turnosxpress.tar
|
|
|
|
COMANDOS PARA DONWEB
|
|
====================
|
|
|
|
nano /etc/nginx/sites-available/turnosxpress.com.ar
|
|
service nginx restart
|
|
docker stop turnosxpress
|
|
docker rm turnosxpress
|
|
docker rmi turnosxpress:latest
|
|
gunzip -c turnosxpress.tar.gz | docker load
|
|
docker compose up -d --no-deps turnosxpress
|
|
nano /etc/nginx/sites-available/turnosxpress.com.ar
|
|
service nginx restart
|
|
|
|
|
|
COMANDOS OMV PARA NOTIFICATIONS
|
|
===============================
|
|
docker stop notifications
|
|
docker rm notifications
|
|
docker rmi notification-sender:latest
|
|
docker build -t notification-sender .
|
|
docker save notification-sender:latest -o notification-sender.tar
|
|
gzip notification-sender.tar
|
|
|
|
|
|
COMANDOS PARA DONWEB NOTIFICATIONS
|
|
==================================
|
|
docker stop notifications
|
|
docker rm notifications
|
|
docker rmi notification-sender:latest
|
|
gunzip -c notification-sender.tar.gz | docker load
|
|
docker compose up -d --no-deps notifications
|
|
|
|
PARA ACCEDER AL CONTENEDOR
|
|
==========================
|
|
docker exec -it notifications sh |