add two networks

This commit is contained in:
trav 2021-10-28 15:28:21 -04:00
parent b9cec206c2
commit 418cbace24
1 changed files with 10 additions and 0 deletions

View File

@ -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: