You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
469 B
22 lines
469 B
#!/bin/bash
|
|
|
|
|
|
echo "-----Copie des fichiers dans /OPT. Serveur web sur port 8099"
|
|
mkdir -p /opt/tandoor-pod/nginx_config
|
|
cp .env /opt/tandoor-pod
|
|
cp docker-compose.yml /opt/tandoor-pod
|
|
cp web-recipes.conf /opt/tandoor-pod/nginx_config/.
|
|
|
|
echo "-----Config firewall"
|
|
firewall-cmd --add-port=8099/tcp --permanent
|
|
firewall-cmd --reload
|
|
podman network reload --all
|
|
|
|
|
|
echo "-----Démarrage du pod Tandoor"
|
|
cd /opt/tandoor-pod
|
|
podman-compose up -d
|
|
|
|
echo "-----Terminé"
|
|
#end
|