-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
32 lines (30 loc) · 1004 Bytes
/
docker-compose.yaml
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
version: '3.6'
services:
frontend_radio_crestin_com:
build:
context: .
args:
- FRONTEND_CDN_IMAGE_PREFIX=${FRONTEND_CDN_IMAGE_PREFIX}
restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/" ]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
environment:
- FRONTEND_GRAPHQL_ENDPOINT_URI=${FRONTEND_GRAPHQL_ENDPOINT_URI}
- FRONTEND_GRAPHQL_INTERNAL_ENDPOINT_URI=${FRONTEND_GRAPHQL_INTERNAL_ENDPOINT_URI}
- FRONTEND_GRAPHQL_INTERNAL_ENDPOINT_ADMIN_SECRET=${FRONTEND_GRAPHQL_INTERNAL_ENDPOINT_ADMIN_SECRET}
- FRONTEND_CDN_IMAGE_PREFIX=${FRONTEND_CDN_IMAGE_PREFIX}
- FRONTEND_REFRESH_CACHE_TOKEN=${FRONTEND_REFRESH_CACHE_TOKEN}
networks:
- app_network
logging:
driver: "json-file"
options:
max-file: "5" # number of files or file count
max-size: "100m" # file size
networks:
app_network:
name: app_network_webgateway