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"
|
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
|
||||||
|
|
Loading…
Reference in New Issue