Create a docker-compose.dev.yml to reproduce integration test cases.

pull/289/head
Clement Michaud 2018-10-24 00:10:23 +02:00 committed by Clement Michaud
parent 9fc55543fd
commit 2bc650fd97
2 changed files with 28 additions and 3 deletions

View File

@ -10,9 +10,7 @@ services:
- ./dist/server/src/public_html:/usr/src/server/src/public_html - ./dist/server/src/public_html:/usr/src/server/src/public_html
- ./client:/usr/src/client - ./client:/usr/src/client
- ./shared:/usr/src/shared - ./shared:/usr/src/shared
- ./config.minimal.yml:/etc/authelia/config.yml:ro - ./config.template.yml:/etc/authelia/config.yml:ro
- /tmp/authelia:/tmp/authelia
- ./users_database.yml:/etc/authelia/users_database.yml
environment: environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0 - NODE_TLS_REJECT_UNAUTHORIZED=0
depends_on: depends_on:

View File

@ -0,0 +1,27 @@
version: '2'
services:
authelia:
build:
context: .
dockerfile: Dockerfile.dev
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
- ./users_database.yml:/etc/authelia/users_database.yml
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0
depends_on:
- redis
networks:
- example-network
command:
- "./node_modules/.bin/ts-node"
- "-P"
- "server/tsconfig.json"
- "server/src/index.ts"
- "/etc/authelia/config.yml"