summaryrefslogtreecommitdiff
path: root/contrib/dev
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-09 01:07:15 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-09 01:07:15 +0300
commit34ccc98a942098faefb5f4211b215ff9ccc7ad0e (patch)
tree7696ab4d7c8d9fb09c7e2575d482517f68824ae3 /contrib/dev
Начальный
Diffstat (limited to 'contrib/dev')
-rw-r--r--contrib/dev/docker-compose.yml31
1 files changed, 31 insertions, 0 deletions
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: