diff --git a/CMD/cmd.txt b/CMD/cmd.txt new file mode 100644 index 0000000..02366b7 --- /dev/null +++ b/CMD/cmd.txt @@ -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 diff --git a/phanpy.yml b/phanpy.yml new file mode 100644 index 0000000..b93a723 --- /dev/null +++ b/phanpy.yml @@ -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