]> cat aescling's git repositories - mastodon.git/blob - docker-compose.yml
Remove local_only scope in Status (#4977)
[mastodon.git] / docker-compose.yml
1 version: '3'
2 services:
3
4 db:
5 restart: always
6 image: postgres:alpine
7 ### Uncomment to enable DB persistance
8 # volumes:
9 # - ./postgres:/var/lib/postgresql/data
10
11 redis:
12 restart: always
13 image: redis:alpine
14 ### Uncomment to enable REDIS persistance
15 # volumes:
16 # - ./redis:/data
17
18 web:
19 build: .
20 image: gargron/mastodon
21 restart: always
22 env_file: .env.production
23 command: bundle exec rails s -p 3000 -b '0.0.0.0'
24 ports:
25 - "3000:3000"
26 depends_on:
27 - db
28 - redis
29 volumes:
30 - ./public/assets:/mastodon/public/assets
31 - ./public/packs:/mastodon/public/packs
32 - ./public/system:/mastodon/public/system
33
34 streaming:
35 build: .
36 image: gargron/mastodon
37 restart: always
38 env_file: .env.production
39 command: npm run start
40 ports:
41 - "4000:4000"
42 depends_on:
43 - db
44 - redis
45
46 sidekiq:
47 build: .
48 image: gargron/mastodon
49 restart: always
50 env_file: .env.production
51 command: bundle exec sidekiq -q default -q mailers -q pull -q push
52 depends_on:
53 - db
54 - redis
55 volumes:
56 - ./public/system:/mastodon/public/system
This page took 0.084586 seconds and 4 git commands to generate.