commit initial 10 mai 2020
This commit is contained in:
commit
02f6610d72
41 changed files with 2671 additions and 0 deletions
16
makefile
Normal file
16
makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
fix:
|
||||
bash fix_sql.sh
|
||||
build:
|
||||
docker network create librenet
|
||||
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
|
||||
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
|
||||
clean:
|
||||
-docker stop etatdulibre pgadminlibre
|
||||
-docker container rm etatdulibre pgadminlibre
|
||||
-docker image rm etatdulibre
|
||||
-docker network rm librenet
|
||||
-docker volume rm el_pgdata
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue