fix(infra): docker-compose.yml 서버 실제 구성 반영 + Caddyfile 제거
This commit is contained in:
30
docker-compose_server.yml
Normal file
30
docker-compose_server.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
gateway:
|
||||
build: .
|
||||
container_name: gravity-gateway
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:8585:8585"
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- BOT_MODE=gateway
|
||||
- GATEWAY_PORT=8585
|
||||
- BRAIN_PATH=/app/data/brain
|
||||
volumes:
|
||||
- gateway-data:/app/data
|
||||
networks:
|
||||
- default
|
||||
- proxy-net
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: 3
|
||||
|
||||
volumes:
|
||||
gateway-data:
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user