generated from coop-cloud/example
Compare commits
12
Commits
3.0.11+v4.5.22
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c6dd60fda | ||
|
|
2c4eb7d534 | ||
|
|
2577a92c50 | ||
|
|
4c95890dc2 | ||
|
|
6d693f8e3f | ||
|
|
9ae6c7c7e0 | ||
|
|
74844575eb | ||
|
|
f678fa131d | ||
|
|
9823a22e55 | ||
|
|
5a799ef461 | ||
|
|
d8a02a3091 | ||
|
|
a4831950a8 |
@@ -62,6 +62,11 @@ admin() {
|
||||
bin/tootctl accounts create "$1" --email "$2" --confirmed --role Owner
|
||||
bin/tootctl accounts approve "$1"
|
||||
}
|
||||
tootctl() {
|
||||
environment
|
||||
|
||||
bin/tootctl $@
|
||||
}
|
||||
|
||||
shell() {
|
||||
## Run a shell with proper environment
|
||||
@@ -108,7 +113,7 @@ secrets() {
|
||||
echo "VAPID_PRIVATE_KEY = $VAPID_PRIVATE_KEY"
|
||||
echo ""
|
||||
|
||||
abra app secret generate "$APP_NAME" db_password v1
|
||||
abra app secret generate "$APP_NAME" db_password v1 -n
|
||||
echo ""
|
||||
|
||||
echo "don't forget to insert your smtp_password! your deployment won't work without it"
|
||||
|
||||
@@ -9,4 +9,4 @@ services:
|
||||
# [0]: See https://github.com/mastodon/mastodon/pull/30091
|
||||
user: root
|
||||
command: >
|
||||
/bin/sh -c 'set -x && ls && sed -i -e "s/500/$MAX_CHARS/g" app/javascript/mastodon/features/compose/components/compose_form.jsx && sed -i -e "s/500/$MAX_CHARS/g" app/validators/status_length_validator.rb && rm -f /mastodon/tmp/pids/server.pid && su -c "RAILS_ENV=production bundle exec rails s -p 3000"'
|
||||
/bin/sh -c 'set -x && ls && sed -i -e "s/500/$MAX_CHARS/g" app/javascript/mastodon/features/compose/components/compose_form.jsx && sed -i -e "s/500/$MAX_CHARS/g" app/validators/status_length_validator.rb && rm -f /mastodon/tmp/pids/server.pid && exec su -s /bin/sh -c "RAILS_ENV=production bundle exec rails s -p 3000" mastodon'
|
||||
|
||||
+8
-8
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: tootsuite/mastodon:v4.5.22
|
||||
image: tootsuite/mastodon:v4.5.23
|
||||
command: |
|
||||
bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
|
||||
networks: &bothNetworks
|
||||
@@ -20,12 +20,12 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}_web.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}_web.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}_web.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.0.11+v4.5.22"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.0.12+v4.5.23"
|
||||
configs: &configs
|
||||
- source: entrypoint_sh
|
||||
- source: entrypoint_conf
|
||||
target: /usr/local/bin/entrypoint.sh
|
||||
mode: 0555
|
||||
- source: entrypoint_streaming_sh
|
||||
- source: entrypoint_streaming_conf
|
||||
target: /usr/local/bin/entrypoint_streaming.sh
|
||||
mode: 0555
|
||||
entrypoint: &entrypoint /usr/local/bin/entrypoint.sh
|
||||
@@ -129,7 +129,7 @@ services:
|
||||
- WEB_DOMAIN
|
||||
|
||||
streaming:
|
||||
image: tootsuite/mastodon-streaming:v4.5.22
|
||||
image: tootsuite/mastodon-streaming:v4.5.23
|
||||
command: node ./streaming/index.js
|
||||
configs: *configs
|
||||
entrypoint: /usr/local/bin/entrypoint_streaming.sh
|
||||
@@ -150,7 +150,7 @@ services:
|
||||
volumes: *appVolume
|
||||
|
||||
sidekiq:
|
||||
image: tootsuite/mastodon:v4.5.22
|
||||
image: tootsuite/mastodon:v4.5.23
|
||||
secrets: *secrets
|
||||
command: bundle exec sidekiq
|
||||
configs: *configs
|
||||
@@ -222,11 +222,11 @@ networks:
|
||||
external: true
|
||||
|
||||
configs:
|
||||
entrypoint_sh:
|
||||
entrypoint_conf:
|
||||
name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
|
||||
file: entrypoint.sh.tmpl
|
||||
template_driver: golang
|
||||
entrypoint_streaming_sh:
|
||||
entrypoint_streaming_conf:
|
||||
name: ${STACK_NAME}_entrypoint_streaming_conf_${ENTRYPOINT_STREAMING_CONF_VERSION}
|
||||
file: entrypoint-streaming.sh.tmpl
|
||||
template_driver: golang
|
||||
|
||||
Reference in New Issue
Block a user