about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-20 13:48:01 +0200
committerEmile <hanemile@protonmail.com>2019-10-20 13:48:01 +0200
commitcdfd1f1850cb7665a5247a1e437992f0d8cf91a2 (patch)
treee15c443705597bd8273a106df89ed82d50ab10bd
parentf53bf7dc47ed8cd5b252da589abc4a35a4bad0d5 (diff)
added postgres and circus_db network
-rw-r--r--docker-compose.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 9ba3e15..24633f2 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -162,14 +162,18 @@ services:
             - circus_db
 
     postgresql:
-        image: postgresql:12
+        image: "postgres:12.0"
+        container_name: "postgresql"
         volumes:
             - "circus_data:/var/lib/postgresql/data"
+        networks:
+            - circus_db
 
 networks:
     circus:
         external:
             name: circus
+    circus_db:
 
 volumes:
     prometheus_data: {}