File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM tootsuite/mastodon-streaming:v4.3.0 as streaming
2+
13FROM tootsuite/mastodon:v4.3.0
24
35USER root
46RUN mkdir -p /var/cache/apt/archives/partial && \
57 apt-get clean && \
68 apt-get update && \
7- apt-get install -y --no-install-recommends tmux
9+ apt-get install -y --no-install-recommends tmux nodejs
810
911RUN wget "https://github.com/caddyserver/caddy/releases/download/v2.6.2/caddy_2.6.2_linux_amd64.deb" -O caddy.deb && \
1012 dpkg -i caddy.deb
@@ -16,5 +18,7 @@ RUN wget "https://github.com/DarthSim/overmind/releases/download/v2.3.0/overmind
1618
1719ADD Procfile Caddyfile /opt/mastodon/
1820
21+ COPY --from=streaming /opt/mastodon/node_modules/ /opt/mastodon/streaming/node_modules/
22+
1923ENTRYPOINT []
2024CMD ["./overmind" , "start" ]
Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ kill_timeout = 5
55
66swap_size_mb = 1024
77
8+ [[vm ]]
9+ memory = " 512mb"
10+
811# # Uncomment if you are upgrading Mastodon. See README.md for details.
9- [deploy ]
10- release_command = " bin/rails db:migrate"
12+ # [deploy]
13+ # release_command = "bin/rails db:migrate"
1114
1215[env ]
1316 LOCAL_DOMAIN = " social.python.it"
You can’t perform that action at this time.
0 commit comments