1
0
simple-file-server/docker-compose.yml

20 lines
472 B
YAML
Raw Permalink Normal View History

2019-12-26 09:55:55 -08:00
version: '3'
services:
server:
image: "tgrosinger/simple-file-server"
restart: "always"
networks:
- traefik_default
command: "-root=/data"
labels:
- "traefik.port=80"
- "traefik.frontend.rule=<FRONTEND RULE>"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.docker.network=traefik_default"
- "traefik.enable=true"
volumes:
- <DATA DIRECTORY>:/data
networks:
traefik_default:
external: true