Skip to content

Commit

Permalink
use minio, nfs disable
Browse files Browse the repository at this point in the history
  • Loading branch information
fono09 committed Mar 7, 2024
1 parent 718ed74 commit ec29ff5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docker-compose.yml
Expand Up @@ -82,7 +82,6 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks:
- external_network
Expand All @@ -97,8 +96,6 @@ services:
- db
- redis
- es
volumes:
- public-system:/mastodon/public/system
environment:
- LETSENCRYPT_HOST=ma.fono.jp
- LETSENCRYPT_EMAIL=fono@fono.jp
Expand Down Expand Up @@ -166,7 +163,6 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: node ./streaming
networks:
- external_network
Expand All @@ -189,16 +185,13 @@ services:
build: .
image: ghcr.io/mastodon/mastodon:v4.2.8
restart: always
env_file: .env.production
command: bundle exec sidekiq
depends_on:
- db
- redis
networks:
- external_network
- internal_network
volumes:
- public-system:/mastodon/public/system
healthcheck:
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
deploy:
Expand All @@ -223,13 +216,6 @@ services:
# - external_network
# - internal_network

volumes:
public-system:
driver_opts:
type: "nfs"
o: "addr=192.168.100.101,rw"
device: ":/home/fono/ghq/github.com/tootsuite/mastodon/public/system"

networks:
external_network:
name: mastodon_external
Expand Down

0 comments on commit ec29ff5

Please sign in to comment.