generated from pagopa/io-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.13 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
53
54
55
56
57
version: "2.2"
services:
io-spid-commons:
build:
context: ./
dockerfile: Dockerfile
environment:
- NODE_ENV=dev
- REDIS_URL=redis://redis
- NODE_TLS_REJECT_UNAUTHORIZED=0
expose:
- "3000"
ports:
- "3000:3000"
image: node:20.12.2-alpine
working_dir: /usr/src/app
volumes:
- "./certs:/usr/src/app/certs:delegated"
- "./dist:/usr/src/app/dist:delegated"
command: ["yarn", "hot-reload"]
networks:
- io-spid-commons
depends_on:
- spid-testenv2
spid-testenv2:
image: italia/spid-testenv2:latest
ports:
- "8088:8088"
volumes:
- "./spid-testenv:/app/conf"
networks:
- io-spid-commons
redis:
image: wodby/redis:3.2-2.1.5
environment:
REDIS_TIMEOUT: 300
REDIS_TCP_KEEPALIVE: 60
REDIS_MAXMEMORY: 182m
networks:
- io-spid-commons
#spid-saml-check:
# image: spid-saml-check
# ports:
# - "8080:8080"
# networks:
# - io-spid-commons
# needed to make TSL work
networks:
io-spid-commons:
driver: bridge
driver_opts:
com.docker.network.driver.mtu: 1450