Created
August 27, 2018 15:55
-
-
Save nacika-ins/2662d3058521f1de3e140b1bfb082a97 to your computer and use it in GitHub Desktop.
rpi用設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db: | |
restart: always | |
image: postgres:9.6-alpine | |
container_name: mastodon-db | |
volumes: | |
- ./data/postgres:/var/lib/postgresql/data | |
redis: | |
restart: always | |
image: redis | |
container_name: mastodon-redis | |
command: redis-server --appendonly yes | |
volumes: | |
- ./data/redis:/data | |
web: | |
restart: always | |
build: . | |
image: gilir/rpi-mastodon | |
container_name: mastodon-web | |
env_file: .env.production | |
ports: | |
- "3000:3000" | |
- "4000:4000" | |
depends_on: | |
- db | |
- redis | |
environment: | |
- WEB_CONCURRENCY=1 | |
- MAX_THREADS=5 | |
- SIDEKIQ_WORKERS=5 | |
- RUN_DB_MIGRATIONS=true | |
volumes: | |
- ./data/public/system:/mastodon/public/system | |
- ./data/public/assets:/mastodon/public/assets | |
- ./data/public/packs:/mastodon/public/packs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------- | |
# Version | |
ARG MASTODON_VERSION=2.5.0rc1 | |
# に変更 | |
------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment