about summary refs log tree commit diff
diff options
context:
space:
mode:
-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: {}