Construire l'image
This commit is contained in:
10
compose.yaml
10
compose.yaml
@@ -1,8 +1,6 @@
|
||||
services:
|
||||
database:
|
||||
image: pgsql:2025.09
|
||||
build:
|
||||
context: ./pgsql
|
||||
image: iut/pgsql:2025-08
|
||||
environment:
|
||||
POSTGRES_INITDB_ARGS: "--locale-provider=icu --icu-locale=fr-FR"
|
||||
POSTGRES_DB: ${COMPOSE_PROJECT_NAME}
|
||||
@@ -10,8 +8,10 @@ services:
|
||||
POSTGRES_USER: ${COMPOSE_PROJECT_NAME}
|
||||
volumes:
|
||||
- database_data:/var/lib/postgresql/data:rw
|
||||
- ./pgsql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ./pgsql/data:/tmp
|
||||
- ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ./data:/tmp
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
volumes:
|
||||
database_data:
|
||||
|
||||
Reference in New Issue
Block a user