12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- version: '2'
- services:
- gateway-init:
- image: docker.finogeeks.club/finochat/gateway-init:latest
- depends_on:
- - gateway
- environment:
- API_GATEWAY_ENV: demo
- KONG_ADMIN_URL: http://gateway:8001
- LOG_LEVEL: info
- volumes:
- - ./demo.yaml:/app/route-tmpl/demo.yaml
- networks:
- - finochat-tier
- gateway-dashboard:
- image: docker.finogeeks.club/base/kong-dashboard:3.3.0
- depends_on:
- - gateway
- ports:
- - 9000:8080
- command:
- - start
- - --kong-url
- - http://gateway:8001
- - --basic-auth
- - admin=admin159357
- networks:
- - finochat-tier
- gateway:
- privileged: true
- image: docker.finogeeks.club/finochat/gateway:latest
- depends_on:
- - gateway-db
- environment:
- KONG_ANONYMOUS_REPORTS: 'off'
- KONG_DATABASE: postgres
- KONG_PG_HOST: gateway-db
- KONG_PG_PASSWORD: admin159357
- ports:
- - 8000:8000
- command:
- - kong
- - start
- - --run-migrations --vv
- networks:
- - finochat-tier
- gateway-db:
- privileged: true
- image: docker.finogeeks.club/base/postgres:1.0.0
- environment:
- POSTGRES_DB: kong
- POSTGRES_PASSWORD: admin159357
- POSTGRES_USER: kong
- #volumes:
- #- ./volumes/gateway-db-finochat:/var/lib/postgresql/data
- networks:
- - finochat-tier
- networks:
- finochat-tier:
|