Skip to content

Commit 073997f

Browse files
authored
Add Docker Compose configuration for app service
1 parent 32218da commit 073997f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
services:
2+
app:
3+
# Haal de image op van GitHub Container Registry
4+
# VERVANG: jouw-gebruikersnaam en jouw-repo-naam (alles in kleine letters)
5+
image: ghcr.io/s4ndyp/supermarkey:latest
6+
7+
# Geef de container een vaste naam (makkelijker voor logs/beheer)
8+
container_name: supermarkey-container
9+
10+
# Map poort 8080 van je PC naar poort 80 van de container
11+
# Je kunt de app bereiken op http://localhost:8080
12+
ports:
13+
- "7107:80"
14+
15+
# Herstart de container automatisch als hij crasht of als Docker herstart
16+
restart: unless-stopped

0 commit comments

Comments
 (0)