This repository has been archived by the owner on Feb 28, 2022. It is now read-only.
forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.development.yml
71 lines (66 loc) · 1.88 KB
/
docker-compose.development.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
db:
image: postgres:alpine
volumes:
- ./postgres:/var/lib/postgresql/data
redis:
image: redis:alpine
volumes:
- ./redis:/data
web:
build: &build
context: .
dockerfile: Dockerfile-development
image: mastodon-development
env_file: .env
command: bundle exec foreman start -f Procfile.dev.docker
ports:
- "3001:3001"
- "3035:3035"
depends_on:
- db
- redis
volumes: &app
- ./.rspec:/mastodon/.rspec:cached
- ./Procfile.dev.docker:/mastodon/Procfile.dev.docker:cached
- ./.rubocop.yml:/mastodon/.rubocop.yml:cached
- ./.ruby-version:/mastodon/.ruby-version:cached
- ./.yardopts:/mastodon/.yardopts:cached
- ./app:/mastodon/app:cached
- ./bin:/mastodon/bin:cached
- ./config:/mastodon/config:cached
- ./config.ru:/mastodon/config.ru:cached
- ./db:/mastodon/db:cached
- ./docs:/mastodon/docs:cached
- ./Gemfile:/mastodon/Gemfile:cached
- ./Gemfile.lock:/mastodon/Gemfile.lock:cached
- ./package.json:/mastodon/package.json:cached
- ./yarn.lock:/mastodon/yarn.lock:cached
- ./lib:/mastodon/lib:cached
- ./public:/mastodon/public:delegated
- ./public/packs:/mastodon/public/packs
- ./spec:/mastodon/spec:cached
- ./storybook:/mastodon/storybook:cached
- ./streaming:/mastodon/streaming:cached
- ./vendor/assets:/mastodon/vendor/assets
- ./tmp/letter_opener:/mastodon/tmp/letter_opener
streaming:
build: *build
image: mastodon-development
env_file: .env
command: npm run start
ports:
- "4000:4000"
depends_on:
- db
- redis
sidekiq:
build: *build
image: mastodon-development
env_file: .env
command: bundle exec sidekiq -q default -q mailers -q pull -q push
depends_on:
- db
- redis
volumes: *app