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