~qeef/damn-deploy

ref: 16b32125c4ddf9b603acd7562b806884e1c5e0ce damn-deploy/chat.yml -rw-r--r-- 1.2 KiB
16b32125Jiri Vlasak Switch link to mailing list for the list address 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3"
services:
    chat:
        build:
            context: wschat_server
            args:
                DAMN_CHAT: ${CHAT_SUB}.${DOMAIN_NAME}
        env_file: .env
        restart: always
        labels:
            - "traefik.http.routers.chat-unsec.entrypoints=web"
            - "traefik.http.routers.chat-unsec.rule=Host(`${CHAT_SUB}.${DOMAIN_NAME}`)"
            - "traefik.http.routers.chat-unsec.middlewares=redir@docker"
            - "traefik.http.routers.chat.entrypoints=web-secure"
            - "traefik.http.routers.chat.rule=Host(`${CHAT_SUB}.${DOMAIN_NAME}`)"
            - "traefik.http.routers.chat.tls=true"
            - "traefik.http.routers.chat.tls.certresolver=le"
            - "traefik.websocket.routers.chat-unsec.entrypoints=web"
            - "traefik.websocket.routers.chat-unsec.rule=Host(`${CHAT_SUB}.${DOMAIN_NAME}`)"
            - "traefik.websocket.routers.chat-unsec.middlewares=redir@docker"
            - "traefik.websocket.routers.chat.entrypoints=web-secure"
            - "traefik.websocket.routers.chat.rule=Host(`${CHAT_SUB}.${DOMAIN_NAME}`)"
            - "traefik.websocket.routers.chat.tls=true"
            - "traefik.websocket.routers.chat.tls.certresolver=le"