Add initial files

This commit is contained in:
Michał Gdula 2023-05-03 17:08:41 +03:00
parent 86c5853832
commit 0d28b50944
3 changed files with 32 additions and 1 deletions

7
.gitignore vendored
View file

@ -157,4 +157,9 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/
.vscode/
# Remove dockerfile generated files
Caddy/data/
Caddy/config/

8
Caddy/Caddyfile Normal file
View file

@ -0,0 +1,8 @@
# Expo Website
:5000 {
reverse_proxy 127.0.0.1:5000
}
# Highscore Server
:6000 {
reverse_proxy 127.0.0.1:6000
}

18
docker-compose.yml Normal file
View file

@ -0,0 +1,18 @@
version: "3.8"
services:
caddy:
image: caddy:latest
# restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "5000:5000"
- "6000:6000"
volumes:
- ./Caddy/Caddyfile:/etc/caddy/Caddyfile
- ./Caddy/data:/data
- ./Caddy/config:/config
environment:
- ACME_AGREE=true
- TZ=Europe/London