From 740fd5ad28dbe9b85059144e7cca6351dee0543d Mon Sep 17 00:00:00 2001 From: gitea Date: Wed, 16 Sep 2026 21:14:10 +0200 Subject: [PATCH] Upload files to "SGBD" --- SGBD/compose1.yaml | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 SGBD/compose1.yaml diff --git a/SGBD/compose1.yaml b/SGBD/compose1.yaml new file mode 100644 index 0000000..ef82a77 --- /dev/null +++ b/SGBD/compose1.yaml @@ -0,0 +1,49 @@ +version: '3.7' + +volumes: + Postgres-Data: + name: Postgres-Data + +services: + postgres: + image: postgres:latest + container_name: postgresql + hostname: postgres + restart: always + # ports: + # - "5432:5432" + environment: + - POSTGRES_USER=PostgresUser + - POSTGRES_PASSWORD=PostgresPWD + - POSTGRES_DB=PostgresDBname + - TZ=Europe/Paris + volumes: + - Postgres-Data:/var/lib/postgresql/data + # - /etc/localtime:/etc/localtime:ro + + pgadmin: + image: dpage/pgadmin4 + container_name: pgadmin + depends_on: + - postgres + restart: on-failure + ports: + - "55320:80" + environment: + PGADMIN_DEFAULT_EMAIL: user@pierreau.fr + PGADMIN_DEFAULT_PASSWORD: SuperSecret + + adminer: + image: adminer:latest + container_name: adminer + depends_on: + - postgres + restart: on-failure + environment: + ADMINER_DEFAULT_DB_DRIVER: postgresql + ADMINER_DEFAULT_SERVER: postgresql + ADMINER_DEFAULT_DB_NAME: PostgresDBname + ADMINER_PLUGINS: dump-zip dump-bz2 dump-date + ADMINER_DESIGN: galkaev # nette + ports: + - "55321:8080"