Files
notion-2api/docker-compose.yml
Chinese-tingfeng aa9366f1f0 Add files via upload
2025-10-13 02:12:38 +08:00

30 lines
548 B
YAML

# docker-compose.yml
services:
nginx:
image: nginx:latest
container_name: notion-2api-nginx
restart: always
ports:
- "${NGINX_PORT:-8088}:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- app
networks:
- notion-net
app:
build:
context: .
dockerfile: Dockerfile
container_name: notion-2api-app
restart: unless-stopped
env_file:
- .env
networks:
- notion-net
networks:
notion-net:
driver: bridge