-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
52 lines (47 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: "3"
services:
app:
build: .
volumes:
- app:/home/app
- "~/.ssh:/home/app/.ssh"
- "~/.aws:/home/app/.aws"
- "~/.gitconfig:/home/app/.gitconfig"
- "~/.gitignore:/home/app/.gitignore"
- ".:/app"
working_dir: /app
environment:
ERL_AFLAGS: "-kernel shell_history enabled"
APP_NAME: auth0_ex
VERSION: 0.0.0-dev
MIX_BUILD_ROOT: /home/app/_build
MIX_DEPS_PATH: /home/app/deps
tty: true
stdin_open: true
depends_on:
- redis
- aws
- localauth0
redis:
image: public.ecr.aws/bitnami/redis:5.0
ports:
- "6379:6379"
hostname: "redis"
environment:
- ALLOW_EMPTY_PASSWORD=yes
localauth0:
image: public.ecr.aws/c6i9l4r6/localauth0:0.6.2
ports:
- 3000:3000
environment:
LOCALAUTH0_CONFIG_PATH: /localauth0.toml
volumes:
- ./localauth0.toml:/localauth0.toml:ro
aws:
image: public.ecr.aws/localstack/localstack:4
ports:
- "4566:4566"
environment:
ALLOW_NONSTANDARD_REGIONS: 1
volumes:
app: