forked from 5afe/safe-client-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (50 loc) · 968 Bytes
/
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
53
54
55
56
version: '3.5'
services:
nginx:
image: nginx:1.21-alpine
env_file:
- .env
ports:
- "${NGINX_HOST_PORT}:80"
volumes:
- ./nginx/templates:/etc/nginx/templates
depends_on:
- web
web:
build: .
env_file:
- .env
depends_on:
- redis
redis:
image: redis:6-alpine
env_file:
- .env
ports:
- "${REDIS_PORT}:${REDIS_PORT}"
nginx-dev:
image: nginx:1.21-alpine
env_file:
- .env.dev
ports:
- "${NGINX_HOST_PORT}:80"
volumes:
- ./nginx/templates:/etc/nginx/templates
depends_on:
- web-dev
web-dev-build:
build:
context: .
dockerfile: Dockerfile.dev
image: safe-global/safe-client-gateway:dev
env_file:
- .env.dev
entrypoint: ["/bin/bash"]
restart: "no"
web-dev:
image: safe-global/safe-client-gateway:dev
env_file:
- .env.dev
depends_on:
- web-dev-build
- redis