Add files via upload
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user