generated from coop-cloud/example
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
283e3964f1 | ||
|
|
74844575eb | ||
|
|
f678fa131d | ||
|
|
cdf7016e90 | ||
|
|
e18a5c1210 | ||
|
|
5a799ef461 | ||
|
|
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
|
||||
|
||||
+8
-8
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: tootsuite/mastodon:v4.5.21
|
||||
image: tootsuite/mastodon:v4.5.22
|
||||
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.10+v4.5.21"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.0.11+v4.5.22"
|
||||
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.21
|
||||
image: tootsuite/mastodon-streaming:v4.5.22
|
||||
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.21
|
||||
image: tootsuite/mastodon:v4.5.22
|
||||
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