forked from CWAD/relibre
Fix up docker
This commit is contained in:
21
docker-compose.yml.example
Normal file
21
docker-compose.yml.example
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.9"
|
||||
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
expose:
|
||||
- "80"
|
||||
restart: unless-stopped
|
||||
|
||||
proxy:
|
||||
image: caddy:alpine
|
||||
command: caddy reverse-proxy --from :80 --to web:80
|
||||
depends_on:
|
||||
- web
|
||||
ports:
|
||||
# change the left side to whatever host port you want
|
||||
- "8080:80"
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user