Update GitLab CI configuration to use Docker Compose for deployment #5

This commit is contained in:
Marek Lesko
2025-07-28 08:18:51 +00:00
parent 246c22ff70
commit 91ffd122e9
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
version: '3'
services:
app:
image: registry.lesko.me/marek/centrum:latest
depends_on:
- db
restart: unless-stopped
network_mode: host
ports:
- "5000:5000"
db:
image: mcr.microsoft.com/mssql/server:2019-latest
restart: unless-stopped
network_mode: host
environment:
SA_PASSWORD: P@ssw0rd
ACCEPT_EULA: Y