From 34ccc98a942098faefb5f4211b215ff9ccc7ad0e Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Mon, 9 Dec 2024 01:07:15 +0300 Subject: Начальный MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/dev/docker-compose.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 contrib/dev/docker-compose.yml (limited to 'contrib') diff --git a/contrib/dev/docker-compose.yml b/contrib/dev/docker-compose.yml new file mode 100644 index 0000000..35a92f3 --- /dev/null +++ b/contrib/dev/docker-compose.yml @@ -0,0 +1,31 @@ +version: '3.6' + +services: + postgres: + container_name: postgres_container + image: postgis/postgis + environment: + POSTGRES_DB: ${POSTGRES_DB:-app} + POSTGRES_USER: ${POSTGRES_USER:-postgres} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-SuperSecret} + volumes: + - pgdata:/var/lib/postgresql/data + ports: + - '5432:5432' + networks: + - postgres + restart: unless-stopped + + adminer: + image: adminer + restart: always + ports: + - 8090:8080 + networks: + - postgres + +networks: + postgres: + driver: bridge +volumes: + pgdata: -- cgit v1.2.3