task3 deployment

This commit is contained in:
2020-01-05 18:52:16 +01:00
parent ba0240aa84
commit 4e0a675ee3
3 changed files with 49 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
version: '3'
services:
backend2:
build:
dockerfile: ./task3-backend/Dockerfile
context: ../..
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./postbox:/app/postbox"
- "../../keys/letter:/app/letter"
restart: unless-stopped
networks:
net:
ipv4_address: 10.103.204.3
networks:
net:
external:
name: tasks-net
View File