chore: publish 0.1.0+v2.11.13 release
This commit is contained in:
parent
dc863a5410
commit
534fb7acd3
34
compose.yml
34
compose.yml
|
@ -33,7 +33,12 @@ x-environment: &default-env
|
|||
|
||||
services:
|
||||
app:
|
||||
image: loomio/loomio:v2.11.11
|
||||
image: loomio/loomio:v2.11.13
|
||||
configs:
|
||||
- source: entrypoint
|
||||
target: /entrypoint.sh
|
||||
mode: 0555
|
||||
entrypoint: /entrypoint.sh
|
||||
volumes:
|
||||
- loomio_uploads:/loomio/public/system
|
||||
- loomio_storage:/loomio/storage
|
||||
|
@ -56,14 +61,16 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version="
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+v2.11.13"
|
||||
worker:
|
||||
image: loomio/loomio:v2.11.11
|
||||
image: loomio/loomio:v2.11.13
|
||||
networks:
|
||||
- backend
|
||||
environment:
|
||||
!!merge <<: *default-env
|
||||
TASK: worker
|
||||
depends_on:
|
||||
- app
|
||||
volumes:
|
||||
- loomio_uploads:/loomio/public/system
|
||||
- loomio_storage:/loomio/storage
|
||||
|
@ -84,14 +91,14 @@ services:
|
|||
image: redis:5.0
|
||||
networks:
|
||||
- backend
|
||||
#mailin:
|
||||
# image: loomio/mailin-docker:latest
|
||||
# networks:
|
||||
# - proxy
|
||||
# ports:
|
||||
# - "25:25"
|
||||
# environment:
|
||||
# - WEBHOOK_URL=http://app:3000/email_processor/
|
||||
# mailin:
|
||||
# image: loomio/mailin-docker:latest
|
||||
# networks:
|
||||
# - proxy
|
||||
# ports:
|
||||
# - "25:25"
|
||||
# environment:
|
||||
# - WEBHOOK_URL=http://app:3000/email_processor/
|
||||
channels:
|
||||
image: loomio/loomio_channel_server
|
||||
networks:
|
||||
|
@ -112,3 +119,8 @@ volumes:
|
|||
loomio_import:
|
||||
pgdata:
|
||||
pgdumps:
|
||||
|
||||
configs:
|
||||
entrypoint:
|
||||
name: ${STACK_NAME}_entrypoint_${LOOMIO_ENTRYPOINT_VERSION}
|
||||
file: entrypoint.sh
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
if test ! -f /loomio/storage/migrations_ran; then
|
||||
echo "first deploy, running migrations..."
|
||||
rake db:setup
|
||||
touch /loomio/storage/migrations_ran
|
||||
fi
|
||||
|
||||
echo "starting loomio!"
|
||||
/loomio/docker_start.sh
|
Loading…
Reference in New Issue