generated from coop-cloud/example
Fix lables and indent
This commit is contained in:
parent
5f5dbd5853
commit
bf87e7f6ac
40
compose.yml
40
compose.yml
|
@ -3,25 +3,25 @@ version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
image: nginx:1.21.0
|
image: nginx:1.21.0
|
||||||
environment:
|
environment:
|
||||||
- STACK_NAME=${STACK_NAME}
|
- STACK_NAME=${STACK_NAME}
|
||||||
- DOMAIN=${DOMAIN}
|
- DOMAIN=${DOMAIN}
|
||||||
configs:
|
configs:
|
||||||
- source: nginx_conf
|
- source: nginx_conf
|
||||||
target: /etc/nginx/nginx.conf
|
target: /etc/nginx/nginx.conf
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- internal
|
- internal
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.services.wiki.loadbalancer.server.port=80"
|
- "traefik.http.services.kcp.loadbalancer.server.port=80"
|
||||||
- "traefik.http.routers.wiki.rule=Host(`${DOMAIN}`)"
|
- "traefik.http.routers.kcp.rule=Host(`${DOMAIN}`)"
|
||||||
- "traefik.http.routers.wiki.entrypoints=web-secure"
|
- "traefik.http.routers.kcp.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.wiki.tls.certresolver=production"
|
- "traefik.http.routers.kcp.tls.certresolver=production"
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: "decentral1se/keycloak-collective-portal:latest"
|
image: "decentral1se/keycloak-collective-portal:latest"
|
||||||
|
@ -32,7 +32,7 @@ services:
|
||||||
target: /usr/local/bin/entrypoint.sh
|
target: /usr/local/bin/entrypoint.sh
|
||||||
mode: 0555
|
mode: 0555
|
||||||
entrypoint: /usr/local/bin/entrypoint.sh
|
entrypoint: /usr/local/bin/entrypoint.sh
|
||||||
command: uvivorn --host 0.0.0.0 keycloak_collective_portal:app
|
command: "uvicorn --host 0.0.0.0 keycloak_collective_portal:app"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|
Loading…
Reference in New Issue