v1
This commit is contained in:
3
CMD/cmd.txt
Normal file
3
CMD/cmd.txt
Normal 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
20
phanpy.yml
Normal 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
|
||||
Reference in New Issue
Block a user