modifications mineures

This commit is contained in:
francois 2020-05-16 22:16:41 -04:00
parent a389f59473
commit a7c8bb0328
16 changed files with 595 additions and 590 deletions

View file

@ -1,14 +1,19 @@
fix:
bash fix_sql.sh
build:
docker network create librenet
bash fix_sql.sh
docker build --tag=etatdulibre .
docker run --name=etatdulibre --mount source=el_pgdata,target=/var/lib/postgresql/data --network=librenet -it -p 5432:5432 -p 2222:22 etatdulibre
docker run --name=pgadminlibre --network=librenet -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=etatdulibre@librenet' -e 'PGADMIN_DEFAULT_PASSWORD=etatdulibre' -e 'PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=True' -e 'PGADMIN_CONFIG_LOGIN_BANNER="Authorised users only!"' -e 'PGADMIN_CONFIG_CONSOLE_LOG_LEVEL=10' -d dpage/pgadmin4
run:
docker start etatdulibre
docker run --name=pgadminlibre --network=librenet -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=etatdulibre@librenet' -e 'PGADMIN_DEFAULT_PASSWORD=etatdulibre' -e 'PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=True' -e 'PGADMIN_CONFIG_LOGIN_BANNER="Authorised users only!"' -e 'PGADMIN_CONFIG_CONSOLE_LOG_LEVEL=10' -d dpage/pgadmin4
docker start pgadminlibre
stop:
-bash backup.sh
-docker stop etatdulibre
-docker stop pgadminlibre
clean:
-docker stop etatdulibre pgadminlibre
-docker container rm etatdulibre pgadminlibre
-docker image rm etatdulibre pgadminlibre
-docker network rm librenet