This commit is contained in:
2025-05-19 15:23:06 +02:00
parent 763421c30c
commit db3f2deb75
2 changed files with 23 additions and 0 deletions

3
CMD/cmd.txt Normal file
View File

@@ -0,0 +1,3 @@
docker build -t phanpy:latest .
docker tag phanpy:latest git.piaf.im/dockerfile/phanpy:latest
docker push git.piaf.im/dockerfile/phanpy:latest

20
phanpy.yml Normal file
View File

@@ -0,0 +1,20 @@
version: "3.8"
services:
phanpy:
image: git.piaf.im/dockerfile/phanpy:latest
deploy:
replicas: 1
placement:
constraints: [node.role == worker]
ports:
- target: 80
published: 8080
protocol: tcp
networks:
- npm-network
networks:
npm-network:
driver: overlay