闭社主体 forked from https://github.com/tootsuite/mastodon
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.

18 lines
360 B

  1. version: '2'
  2. services:
  3. db:
  4. image: postgres
  5. redis:
  6. image: redis
  7. web:
  8. build: .
  9. command: bundle exec rails s -p 3000 -b '0.0.0.0'
  10. ports:
  11. - "3000:3000"
  12. depends_on:
  13. - db
  14. - redis
  15. volumes:
  16. - ./public/assets:/mastodon/public/assets
  17. - ./public/system:/mastodon/public/system
  18. env_file: .env.production