Optimized variables, configuration and role moodle

This commit is contained in:
2024-01-22 18:53:35 +01:00
parent 0c90eaaa24
commit 0647cad072
13 changed files with 104 additions and 72 deletions

View File

@@ -6,7 +6,7 @@ services:
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
web:
image: ghcr.io/mastodon/mastodon:{{version_mastodon}}
image: ghcr.io/mastodon/mastodon:{{mastodon_version}}
restart: {{docker_restart_policy}}
env_file: .env.production
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
@@ -22,7 +22,7 @@ services:
{% include 'templates/docker/container/networks.yml.j2' %}
streaming:
image: ghcr.io/mastodon/mastodon:{{version_mastodon}}
image: ghcr.io/mastodon/mastodon:{{mastodon_version}}
restart: {{docker_restart_policy}}
env_file: .env.production
command: node ./streaming
@@ -36,7 +36,7 @@ services:
{% include 'templates/docker/container/networks.yml.j2' %}
sidekiq:
image: ghcr.io/mastodon/mastodon:{{version_mastodon}}
image: ghcr.io/mastodon/mastodon:{{mastodon_version}}
restart: {{docker_restart_policy}}
env_file: .env.production
command: bundle exec sidekiq