Change the image version to aversioned one.

This commit is contained in:
Cassowary 2025-03-06 20:45:14 -08:00
parent fcfa7e91d7
commit 558dbef2cb

View File

@ -3,8 +3,8 @@ version: "3.8"
services:
app:
image: yakumosaki/glitch-soc:latest
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
image: yakumosaki/glitch-soc:20250228_01
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rake db:migrate; bundle exec rails s -p 3000"
networks: &bothNetworks
- proxy
- internal_network
@ -25,7 +25,7 @@ services:
target: /usr/local/bin/entrypoint.sh
mode: 0555
entrypoint: &entrypoint /usr/local/bin/entrypoint.sh
# entrypoint: &entrypoint ['tail', '-f', '/dev/null']
#entrypoint: &entrypoint ['tail', '-f', '/dev/null']
volumes: &appVolume
- app:/opt/mastodon/public/system
#healthcheck:
@ -169,7 +169,7 @@ services:
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY_FILE=/run/secrets/active_rec_prim_key
streaming:
image: yakumosaki/glitch-soc:latest
image: yakumosaki/glitch-soc:20250228_01
command: node ./streaming
configs: *configs
entrypoint: *entrypoint
@ -190,7 +190,7 @@ services:
volumes: *appVolume # used to make sure this volume is created
sidekiq:
image: yakumosaki/glitch-soc:latest
image: yakumosaki/glitch-soc:20250228_01
secrets: *secrets
command: bundle exec sidekiq
configs: *configs