forked from CWAD/relibre
22 lines
379 B
Plaintext
22 lines
379 B
Plaintext
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
|
|
|