- https://github.com/chsasank/outline-wiki-docker-compose
- follow instructions above
- grab
docker-compose.yml
- replace chsasank's
docker-compose.yml
with mine
Created
March 19, 2023 14:40
-
-
Save Snuupy/1ddeac6cdbd0ae2657b6793afbd875b3 to your computer and use it in GitHub Desktop.
self-hosting outline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
outlineredis: | |
container_name: outlineredis | |
image: redis | |
restart: always | |
outlinepostgres: | |
container_name: outlinepostgres | |
image: postgres:13 | |
environment: | |
POSTGRES_USER: user | |
POSTGRES_PASSWORD: pass | |
POSTGRES_DB: outline | |
volumes: | |
- ./data/pgdata:/var/lib/postgresql/data | |
restart: always | |
outlineminio: | |
container_name: outlineminio | |
image: minio/minio | |
# ports: | |
# - 10000:9000 | |
# - 10001:9001 | |
volumes: | |
- ./data/minio_root:/minio_root:z | |
# - ./data/certs:/root/.minio/certs:z | |
# command: "minio server /minio_root" | |
command: "minio server /minio_root --address ':9000' --console-address ':9001'" | |
# command: server --address ":9000" --console-address ":9001" /data | |
env_file: ./env.minio | |
restart: always | |
networks: | |
- swag | |
outlineapp: | |
container_name: outlineapp | |
image: outlinewiki/outline:0.68.1 | |
command: sh -c "yarn db:migrate --env production-ssl-disabled && yarn start" | |
environment: | |
- DATABASE_URL=postgres://user:pass@outlinepostgres:5432/outline | |
- DATABASE_URL_TEST=postgres://user:pass@outlinepostgres:5432/outline-test | |
- REDIS_URL=redis://outlineredis:6379 | |
env_file: | |
- ./env.outline | |
- ./env.slack | |
restart: always | |
depends_on: | |
- outlinepostgres | |
- outlineredis | |
- outlineminio | |
networks: | |
- swag | |
- default | |
networks: | |
swag: | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment