Files
InfoGenie/infogenie-backend-go/docker-compose.yml
2026-03-28 20:59:52 +08:00

17 lines
511 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 生产:宿主机 12364 -> 容器内 5002容器名 infogenie-backend-go
# 使用:在同级目录准备 .env.production数据库等然后 docker compose up -d --build
services:
infogenie-backend-go:
build:
context: .
dockerfile: Dockerfile
image: infogenie-backend-go:latest
container_name: infogenie-backend-go
ports:
- "12364:5002"
env_file:
- .env.production
environment:
APP_ENV: production
restart: unless-stopped