]> cat aescling's git repositories - mastodon.git/blob - docker-compose.yml
Merge pull request #792 from chapeaumeinfreund/master
[mastodon.git] / docker-compose.yml
1 version: '2'
2 services:
3 db:
4 restart: always
5 image: postgres:alpine
6 redis:
7 restart: always
8 image: redis:alpine
9 web:
10 restart: always
11 build: .
12 env_file: .env.production
13 command: bundle exec rails s -p 3000 -b '0.0.0.0'
14 ports:
15 - "3000:3000"
16 depends_on:
17 - db
18 - redis
19 volumes:
20 - ./public/assets:/mastodon/public/assets
21 - ./public/system:/mastodon/public/system
22 streaming:
23 restart: always
24 build: .
25 env_file: .env.production
26 command: npm run start
27 ports:
28 - "4000:4000"
29 depends_on:
30 - db
31 - redis
32 sidekiq:
33 restart: always
34 build: .
35 env_file: .env.production
36 command: bundle exec sidekiq -q default -q mailers -q pull -q push
37 depends_on:
38 - db
39 - redis
40 volumes:
41 - ./public/system:/mastodon/public/system
This page took 0.077922 seconds and 4 git commands to generate.