mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-28 22:03:10 +00:00
Caddy reverse proxy Flask
This commit is contained in:
parent
d7be76f435
commit
76d8e6ad27
4 changed files with 21 additions and 18 deletions
|
@ -1,20 +1,17 @@
|
|||
version: "3.9"
|
||||
services:
|
||||
caddy:
|
||||
hostname: caddy
|
||||
image: caddy:latest
|
||||
image: caddy:alpine
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile
|
||||
- ./Caddy/data:/data
|
||||
- ./Caddy/config:/config
|
||||
environment:
|
||||
- ACME_AGREE=true
|
||||
- TZ=Europe/London
|
||||
highscores:
|
||||
hostname: highscores
|
||||
build: ./Highscore-Server/
|
||||
ports:
|
||||
- "5000:5000"
|
||||
links:
|
||||
- highscore
|
||||
highscore:
|
||||
build: ./Highscore-Server
|
||||
volumes:
|
||||
- ./Highscore-Server/data:/data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue