Upgrade peertube and add spaces

This commit is contained in:
decentral1se 2021-09-03 09:02:58 +02:00
parent a076c442b6
commit 6b9e8dd862
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,5 @@
version: "3.8" version: "3.8"
services: services:
web: web:
image: nginx:1.20.0 image: nginx:1.20.0
@ -32,8 +33,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.web.version=1.20.0-ea4560b8 - coop-cloud.${STACK_NAME}.web.version=1.20.0-ea4560b8
app: app:
image: chocobozzz/peertube:v3.2.1-buster image: chocobozzz/peertube:v3.3.0-buster
environment: environment:
- PEERTUBE_ADMIN_EMAIL - PEERTUBE_ADMIN_EMAIL
- PEERTUBE_CONTACT_FORM_ENABLED - PEERTUBE_CONTACT_FORM_ENABLED
@ -70,6 +72,7 @@ services:
- internal - internal
deploy: deploy:
labels: ["coop-cloud.${STACK_NAME}.app.version=v3.2.1-buster-e4f797ee"] labels: ["coop-cloud.${STACK_NAME}.app.version=v3.2.1-buster-e4f797ee"]
db: db:
image: postgres:10-alpine image: postgres:10-alpine
environment: environment:
@ -86,7 +89,8 @@ services:
update_config: update_config:
failure_action: rollback failure_action: rollback
order: start-first order: start-first
labels: ['coop-cloud.${STACK_NAME}.db.version=10-alpine-131220fe'] labels: ["coop-cloud.${STACK_NAME}.db.version=10-alpine-131220fe"]
cache: cache:
image: redis:4-alpine image: redis:4-alpine
volumes: volumes:
@ -94,11 +98,13 @@ services:
networks: networks:
- internal - internal
deploy: deploy:
labels: ['coop-cloud.${STACK_NAME}.cache.version=4-alpine-aaf7c123'] labels: ["coop-cloud.${STACK_NAME}.cache.version=4-alpine-aaf7c123"]
networks: networks:
internal: internal:
proxy: proxy:
external: true external: true
volumes: volumes:
app-data: app-data:
app-config: app-config:
@ -107,6 +113,7 @@ volumes:
nginx-cache: nginx-cache:
postgres-data: postgres-data:
redis-data: redis-data:
configs: configs:
nginx_config: nginx_config:
name: ${STACK_NAME}_nginx_config_${NGINX_CONFIG_VERSION} name: ${STACK_NAME}_nginx_config_${NGINX_CONFIG_VERSION}
@ -115,6 +122,7 @@ configs:
app_entrypoint: app_entrypoint:
name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION} name: ${STACK_NAME}_app_entrypoint_${APP_ENTRYPOINT_VERSION}
file: entrypoint.sh file: entrypoint.sh
secrets: secrets:
db_password: db_password:
external: true external: true