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