Blog platform
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
404 B

  1. version: '3'
  2. services:
  3. db:
  4. image: postgres
  5. volumes:
  6. - ./tmp/db:/var/lib/postgresql/data
  7. web:
  8. build: .
  9. volumes:
  10. - ./docker_uploads:/home/app/pressr/public/uploads
  11. ports:
  12. - "3000:3000"
  13. depends_on:
  14. - db
  15. environment:
  16. - DB_USER=postgres
  17. - DB_HOST=db
  18. - SECRET_KEY_BASE=pleasechangeme
  19. #- MAIN_BLOG=1
  20. #- ALLOW_USER_BLOGS=false