Commit 8a538d2e authored by kaiyou's avatar kaiyou

Rename the env file and use proper sidekiq command

parent 05b0badc
......@@ -9,13 +9,13 @@ services:
- ./postgresql.conf:/var/lib/postgresql/data/postgresql.conf
redis:
image: redis:4.0-alpine
image: redis:5.0-alpine
volumes:
- ./redis:/data
web:
image: docker.tedomum.net/tedomum/mastodon:tedomum-prod
env_file: ./env.production
env_file: ./.env
command: bundle exec rails s -p 3000 -b '[::]'
depends_on:
- db
......@@ -32,8 +32,8 @@ services:
streaming:
image: docker.tedomum.net/tedomum/mastodon:tedomum-prod
env_file: ./env.production
command: yarn start
env_file: ./.env
command: node ./streaming
depends_on:
- db
- redis
......@@ -46,8 +46,8 @@ services:
sidekiq:
image: docker.tedomum.net/tedomum/mastodon:tedomum-prod
env_file: ./env.production
command: bundle exec sidekiq -q default -q mailers -q pull -q push
env_file: ./.env
command: bundle exec sidekiq
depends_on:
- db
- redis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment