refactor!: web -> app + version label

This commit is contained in:
decentral1se 2022-01-28 19:07:30 +01:00
parent cb8ba6a567
commit 6670181da6
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ services:
soft: -1
hard: -1
web:
app:
image: decentral1se/hometown:v1.0.5_3.4.0
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
networks: &bothNetworks
@ -56,6 +56,7 @@ 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=0.1.0+v1.0.5_3.4.0"
configs: &configs
- source: entrypoint_sh
target: /usr/local/bin/entrypoint.sh