authelia/docker-compose.dev.yml

28 lines
682 B
YAML
Raw Normal View History

2018-08-10 03:24:02 +07:00
version: '2'
services:
authelia-dev:
2018-08-10 03:24:02 +07:00
build:
context: .
dockerfile: Dockerfile.dev
2018-08-10 03:24:02 +07:00
restart: always
volumes:
- ./server:/usr/src/server
- ./dist/server/src/public_html:/usr/src/server/src/public_html
- ./client:/usr/src/client
- ./shared:/usr/src/shared
- ./config.template.yml:/etc/authelia/config.yml:ro
2018-08-10 03:24:02 +07:00
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
depends_on:
- redis
networks:
example-network:
aliases:
- authelia
2018-08-10 03:24:02 +07:00
command:
- "./node_modules/.bin/ts-node"
- "-P"
- "server/tsconfig.json"
- "server/src/index.ts"
- "/etc/authelia/config.yml"