rename docker-compose.yml to compose.yaml, add image tag for swarm compat

This commit is contained in:
2026-05-22 12:27:52 +01:00
parent 2ef55753f7
commit 8eef6ea9dc

14
compose.yaml Normal file
View File

@@ -0,0 +1,14 @@
version: "3.8"
services:
swarm-demo:
image: swarm-demo:latest
build: .
ports:
- "5786:5786"
environment:
- PORT=5786
deploy:
replicas: 3
restart_policy:
condition: on-failure