2018-08-09 20:24:02 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
2018-10-27 15:33:10 +00:00
|
|
|
authelia-dev:
|
2018-08-09 20:24:02 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2018-10-21 13:23:23 +00:00
|
|
|
dockerfile: Dockerfile.dev
|
2018-08-09 20:24:02 +00: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.minimal.yml:/etc/authelia/config.yml:ro
|
|
|
|
- /tmp/authelia:/tmp/authelia
|
2018-10-21 13:23:23 +00:00
|
|
|
- ./users_database.yml:/etc/authelia/users_database.yml
|
2018-08-09 20:24:02 +00:00
|
|
|
environment:
|
|
|
|
- NODE_TLS_REJECT_UNAUTHORIZED=0
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
networks:
|
2018-10-27 15:33:10 +00:00
|
|
|
example-network:
|
|
|
|
aliases:
|
|
|
|
- authelia
|
2018-08-09 20:24:02 +00:00
|
|
|
command:
|
|
|
|
- "./node_modules/.bin/ts-node"
|
|
|
|
- "-P"
|
|
|
|
- "server/tsconfig.json"
|
|
|
|
- "server/src/index.ts"
|
|
|
|
- "/etc/authelia/config.yml"
|