Add Docker Support
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: "3.9"
|
||||
|
||||
networks:
|
||||
appnet:
|
||||
external: true
|
||||
|
||||
services:
|
||||
proxy:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: DockerFile
|
||||
image: kaveman/node-reverse-proxy:latest
|
||||
container_name: node-reverse-proxy
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: "production"
|
||||
ports:
|
||||
# Bind to all interfaces on host
|
||||
- "0.0.0.0:80:80"
|
||||
- "0.0.0.0:443:443"
|
||||
volumes:
|
||||
# Make sure it has access to hosts db and certificates
|
||||
- ./.env:/app/.env:ro
|
||||
networks:
|
||||
- appnet
|
||||
Reference in New Issue
Block a user