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 start pgadminlibre stop: -bash backup.sh -docker stop etatdulibre -docker stop pgadminlibre clean: -docker container rm etatdulibre pgadminlibre -docker image rm etatdulibre pgadminlibre -docker network rm librenet -docker volume rm el_pgdata