1 | version: '2'
|
2 | services:
|
3 | web:
|
4 | container_name: functions_app
|
5 | image: globobackstage/functions
|
6 | ports:
|
7 | - "8100:8100"
|
8 | networks:
|
9 | - functions_net
|
10 | depends_on:
|
11 | - redis
|
12 | environment:
|
13 | REDIS_ENDPOINT: redis://redis:6379/0
|
14 | redis:
|
15 | container_name: functions_db
|
16 | image: redis
|
17 | volumes:
|
18 | - functions_vol:/data
|
19 | networks:
|
20 | - functions_net
|
21 |
|
22 | volumes:
|
23 | functions_vol:
|
24 |
|
25 | networks:
|
26 | functions_net:
|