21 lines
495 B
YAML
21 lines
495 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
gateway:
|
|
build: ./src/YarpGateway
|
|
container_name: fengling-gateway
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- ConnectionStrings__DefaultConnection=Host=192.168.100.10;Port=5432;Database=fengling_gateway;Username=postgres;Password=postgres
|
|
- Jwt__Authority=https://your-auth-server.com
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
networks:
|
|
- fengling-network
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
fengling-network:
|
|
driver: bridge
|