From 418cbace24a229ab3324da9d7f9fa780faf0f766 Mon Sep 17 00:00:00 2001 From: trav Date: Thu, 28 Oct 2021 15:28:21 -0400 Subject: [PATCH] add two networks --- compose.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/compose.yml b/compose.yml index 83862ca..8f4102d 100644 --- a/compose.yml +++ b/compose.yml @@ -3,6 +3,9 @@ version: "3.8" services: app: + networks: + - backend + - proxy image: outline:v001 command: yarn dev volumes: @@ -24,14 +27,20 @@ services: #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" redis: image: redis + networks: + - backend postgres: image: postgres + networks: + - backend environment: POSTGRES_USER: user POSTGRES_PASSWORD: pass POSTGRES_DB: outline s3: image: lphoward/fake-s3 + networks: + - backend volumes: - fakes3_data:/fakes3_root #healthcheck: @@ -44,6 +53,7 @@ services: networks: proxy: external: true + backend: volumes: outline_data: