Deploy with docker-compose (#1)

Deploy using docker-compose and GitHub Actions.

Created a simple get endpoint to check if server is running on /

Updated address from 127.0.0.1 to 0.0.0.0
This commit is contained in:
Martin Berg Alstad
2024-06-13 14:42:42 +02:00
committed by GitHub
parent 3ad1ad53fc
commit c1b9273e0c
8 changed files with 78 additions and 7 deletions

9
docker-compose.yaml Normal file
View File

@ -0,0 +1,9 @@
version: '3'
services:
server:
restart: always
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"