Sign inSign up

miklobit/scribe

By miklobit

•Updated almost 4 years ago

Scribe - An Alternative Medium Frontend

Image
0

354

miklobit/scribe repository overview

Docker image for alternative Medium frontend: https://git.sr.ht/~edwardloveall/scribe⁠

To run (generating a base config from environment variables):

$ docker run -it --rm -p 8080:8080 -e SCRIBE_PORT=8080 -e SCRIBE_HOST=0.0.0.0 -e SCRIBE_DB=postgres://does@not/matter miklobit/scribe:latest

To run with mounted config from local fs:

$ docker run -it --rm -v `pwd`/config/watch.yml:/app/config/watch.yml -p 8080:8080 miklobit/scribe:latest

To run as docker stack deploy or docker-compose:

docker-compose.yml

version: "3"
services:
  app:
    image: miklobit/scribe:latest
    restart: always
    networks:
      - web        
    ports:
      - 8080:8080
    environment:
      - SCRIBE_PORT=8080
      - SCRIBE_HOST=0.0.0.0
      - SCRIBE_DB=postgres://does@not/matter
      - APP_DOMAIN=https://scribe.yourdomain.tld
      - LUCKY_ENV=production
      - SECRET_KEY_BASE=your-generated-secret-key-base
      - PORT=8080
      - DATABASE_URL=postgres://does@not/matter
      
networks:
# create network web: $ docker network create --scope swarm --attachable  -d 'overlay'  web    
  web:
    external:
      name: web  

Tag summary

Content type

Image

Digest

sha256:0ab7cd399…

Size

31.3 MB

Last updated

almost 4 years ago

docker pull miklobit/scribe