This commit is contained in:
2025-11-27 07:43:22 +01:00
parent f8b3d0768b
commit 3a833a049a
3 changed files with 43 additions and 177 deletions

View File

@@ -1,23 +1,5 @@
### Construire l'image
```shell
docker build -t iut/pgsql:2025-12 -f postgresql.Dockerfile .
```
```shell
docker network create pg_net
```
```shell
docker run --detach --name pgsql --restart=always \
--network pg_net -p "5432:5432" \
-e "POSTGRES_INITDB_ARGS=--locale-provider=icu --icu-locale=fr-FR" \
-e "POSTGRES_PASSWORD=ChangeMe" \
-e "POSTGRES_USER=iut" \
-v pgsql_data:/var/lib/postgresql:rw \
-v caddy_data:/data \
iut/pgsql:2025-12
```
## Données