Add version labels
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
181730b058
commit
56ec3d0ee3
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
networks:
|
||||
|
@ -14,7 +12,6 @@ services:
|
|||
- SELFOSS_DB_NAME=selfoss
|
||||
- SELFOSS_DB_USERNAME=selfoss
|
||||
- SELFOSS_DB_PASSWORD_FILE=/run/secrets/db_password
|
||||
|
||||
db:
|
||||
image: "postgres:9.6.5"
|
||||
volumes:
|
||||
|
@ -27,10 +24,11 @@ services:
|
|||
POSTGRES_DB: selfoss
|
||||
secrets:
|
||||
- db_password
|
||||
|
||||
deploy:
|
||||
labels:
|
||||
- coop-cloud.${STACK_NAME}.db.version=9.6.5-2f2b1f4d
|
||||
volumes:
|
||||
postgres:
|
||||
|
||||
secrets:
|
||||
db_password:
|
||||
external: true
|
||||
|
|
15
compose.yml
15
compose.yml
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: akito13/selfoss:0.2.0
|
||||
|
@ -48,21 +46,18 @@ services:
|
|||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
|
||||
- coop-cloud.${STACK_NAME}.app.version=0.2.0-f93921cc
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
volumes:
|
||||
selfoss:
|
||||
|
||||
#secrets:
|
||||
# TODO 3wc: see above note about issue #3
|
||||
#selfoss_password:
|
||||
# external: true
|
||||
# name: ${STACK_NAME}_selfoss_password_${SELFOSS_PASSWORD_VERSION}
|
||||
|
||||
# TODO 3wc: see above note about issue #3
|
||||
#selfoss_password:
|
||||
# external: true
|
||||
# name: ${STACK_NAME}_selfoss_password_${SELFOSS_PASSWORD_VERSION}
|
||||
configs:
|
||||
entrypoint_conf:
|
||||
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_CONF_VERSION}
|
||||
|
|
Loading…
Reference in New Issue