summaryrefslogtreecommitdiff
path: root/contrib/dev/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dev/docker-compose.yml')
-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: