update compose file
This commit is contained in:
parent
cc176b0ca8
commit
d634c3089d
1 changed files with 13 additions and 2 deletions
|
|
@ -2,8 +2,6 @@ services:
|
||||||
quote-api:
|
quote-api:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
- '8080:8080'
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
|
|
@ -27,3 +25,16 @@ services:
|
||||||
options:
|
options:
|
||||||
max-size: '10m'
|
max-size: '10m'
|
||||||
max-file: '3'
|
max-file: '3'
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.kuwot-api.rule=Host(`api.dhemasnurjaya.com`) && PathPrefix(`/kuwot/v1`)"
|
||||||
|
- "traefik.http.routers.kuwot-api.entrypoints=web-secure"
|
||||||
|
- "traefik.http.routers.kuwot-api.tls.certresolver=defaultResolver"
|
||||||
|
- "traefik.http.routers.kuwot-api.middlewares=strip-prefix@file"
|
||||||
|
- "traefik.http.services.kuwot-api.loadbalancer.server.port=8080"
|
||||||
|
networks:
|
||||||
|
- traefik-proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
traefik-proxy:
|
||||||
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue