28 lines
672 B
YAML
28 lines
672 B
YAML
|
services:
|
||
|
linx:
|
||
|
image: docker.fanyx.xyz/linx-server:2022-01
|
||
|
container_name: linx-server
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- traefik_proxy
|
||
|
command: ["-config", "/data/linx-server.conf"]
|
||
|
configs:
|
||
|
- source: linx-config
|
||
|
target: /data/linx-server.conf
|
||
|
mode: 0444
|
||
|
volumes:
|
||
|
- /var/docker/linx/files:/data/files
|
||
|
- /var/docker/linx/meta:/data/meta
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.http.routers.linx.entrypoints=https"
|
||
|
- "traefik.http.routers.linx.rule=Host(`t.fanyx.xyz`)"
|
||
|
|
||
|
configs:
|
||
|
linx-config:
|
||
|
file: ./linx-server.conf
|
||
|
|
||
|
networks:
|
||
|
traefik_proxy:
|
||
|
name: traefik_proxy
|