This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/docker-compose.yml
2017-12-10 22:58:52 -08:00

40 lines
772 B
YAML

version: "3"
services:
redis:
image: redis
ports:
- "6379:6379"
postgres:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: outline
s3:
image: lphoward/fake-s3
ports:
- "4569:4569"
volumes:
- ./fakes3:/fakes3_root
outline:
image: outline:v001
command: yarn dev
build:
context: .
dockerfile: Dockerfile
args:
pull: 1
ports:
- "3000:3000"
volumes:
- .:/opt/outline
depends_on:
- postgres
- redis
- s3
environment:
NODE_PATH: "/opt/outline/node_modules:/opt/node_modules"
PATH: "/opt/outline/node_modules/.bin:/opt/node_modules/.bin:$PATH"