-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
32 lines (31 loc) · 1.12 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
services:
gomora-dapp:
build: .
container_name: ${API_NAME}
mem_limit: "3g"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "1m"
networks:
- proxy
volumes:
- /etc/localtime:/etc/localtime:ro
- ./storage/images:/app/build/storage/images
- ./storage/metadata:/app/build/storage/metadata
- ./storage/nft-mint-upload.log:/app/build/storage/nft-mint-upload.log
labels:
- "traefik.enable=true"
- "traefik.http.routers.${API_NAME}.entrypoints=http"
- "traefik.http.routers.${API_NAME}.rule=Host(`${API_URL_REST}`)"
- "traefik.http.routers.${API_NAME}-secure.entrypoints=https"
- "traefik.http.routers.${API_NAME}-secure.rule=Host(`${API_URL_REST}`)"
- "traefik.http.routers.${API_NAME}-secure.tls=true"
- "traefik.http.routers.${API_NAME}-secure.tls.certresolver=http"
- "traefik.http.routers.${API_NAME}-secure.service=${API_NAME}"
- "traefik.http.services.${API_NAME}.loadbalancer.server.port=${API_URL_REST_PORT}"
- "traefik.docker.network=proxy"
networks:
proxy:
external: true