From 90f083ff057c9ce4fa57a3b02ffbb747ff5b7643 Mon Sep 17 00:00:00 2001 From: Clayton Burlison Date: Thu, 16 Nov 2023 20:31:34 -0600 Subject: [PATCH] fix: Add docker network by default This should be a straight win for _most_ users --- docker-compose.example.yml | 3 +++ docs/pages/setup/docker.mdx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 0ac337dd..f6c0f6fa 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -42,6 +42,9 @@ services: ports: - "8080:8080" # change left one for external port + networks: + default: + name: scanner # If you want to use a non docker database enable following lines and # change the Database URL to 'host.docker.internal' diff --git a/docs/pages/setup/docker.mdx b/docs/pages/setup/docker.mdx index 33c5313d..83d6b7aa 100644 --- a/docs/pages/setup/docker.mdx +++ b/docs/pages/setup/docker.mdx @@ -53,6 +53,9 @@ services: ports: - '8080:8080' # change left one for external port + networks: + default: + name: scanner # If you want to use a non docker database enable following lines and # change the Database URL to 'host.docker.internal'