|
|
@ -1,8 +1,9 @@ |
|
|
version: "2.1" |
|
|
version: "2.1" |
|
|
services: |
|
|
services: |
|
|
mastodon: |
|
|
mastodon-web: |
|
|
image: lscr.io/linuxserver/mastodon:latest |
|
|
image: tootsuite/mastodon |
|
|
container_name: mastodon |
|
|
container_name: mastodon-web |
|
|
|
|
|
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" |
|
|
environment: |
|
|
environment: |
|
|
- PUID=1000 |
|
|
- PUID=1000 |
|
|
- PGID=1000 |
|
|
- PGID=1000 |
|
|
@ -44,7 +45,7 @@ services: |
|
|
volumes: |
|
|
volumes: |
|
|
- /usr/docker_binds/mastodon/config:/config |
|
|
- /usr/docker_binds/mastodon/config:/config |
|
|
ports: |
|
|
ports: |
|
|
- 8020:80 |
|
|
- 8020:3000 |
|
|
restart: unless-stopped |
|
|
restart: unless-stopped |
|
|
depends_on: |
|
|
depends_on: |
|
|
- mast-db |
|
|
- mast-db |
|
|
@ -52,6 +53,32 @@ services: |
|
|
networks: |
|
|
networks: |
|
|
- mastodon-net |
|
|
- mastodon-net |
|
|
|
|
|
|
|
|
|
|
|
mastodon-streaming: |
|
|
|
|
|
image: tootsuite/mastodon |
|
|
|
|
|
container_name: mastodon-streaming |
|
|
|
|
|
restart: unless-stopped |
|
|
|
|
|
command: node ./streaming |
|
|
|
|
|
ports: |
|
|
|
|
|
- 8021:4000 |
|
|
|
|
|
networks: |
|
|
|
|
|
- mastodon-net |
|
|
|
|
|
depends_on: |
|
|
|
|
|
- mast-db |
|
|
|
|
|
- mast-redis |
|
|
|
|
|
|
|
|
|
|
|
mastodon-sidekiq: |
|
|
|
|
|
image: tootsuite/mastodon |
|
|
|
|
|
restart: unless-stopped |
|
|
|
|
|
container_name: mastodon-streaming |
|
|
|
|
|
command: bundle exec sidekiq |
|
|
|
|
|
depends_on: |
|
|
|
|
|
- mast-db |
|
|
|
|
|
- mast-redis |
|
|
|
|
|
networks: |
|
|
|
|
|
- mastodon-net |
|
|
|
|
|
volumes: |
|
|
|
|
|
- /usr/docker_binds/mastodon/config/mastodon/public/system:/mastodon/public/system |
|
|
|
|
|
|
|
|
mast-db: |
|
|
mast-db: |
|
|
image: postgres:15.2 |
|
|
image: postgres:15.2 |
|
|
container_name: mast-db |
|
|
container_name: mast-db |
|
|
|