Browse Source
Docker Compose example with optional Traefik labels
pull/170/head
Kebert Xela
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
24 additions and
0 deletions
-
docker-compose.yml
|
|
@ -0,0 +1,24 @@ |
|
|
|
version: '3' |
|
|
|
|
|
|
|
services: |
|
|
|
linx: |
|
|
|
image: andreimarcu/linx-server:latest |
|
|
|
container_name: linx |
|
|
|
restart: always |
|
|
|
ports: |
|
|
|
- 8080:8080 |
|
|
|
networks: |
|
|
|
- linx |
|
|
|
volumes: |
|
|
|
- './linx/meta:/data/meta' |
|
|
|
- './linx/files:/data/files' |
|
|
|
# labels: |
|
|
|
# - "traefik.enable=true" |
|
|
|
# - "traefik.port=8080" |
|
|
|
# - "traefik.backend=linx" |
|
|
|
# - "traefik.frontend.rule=Host:linx.example.com" |
|
|
|
command: ["-sitename=linx", "-allowhotlink"] |
|
|
|
|
|
|
|
networks: |
|
|
|
linx: |
|
|
|
external: true |