Add docker-compose

This commit is contained in:
PJ 2021-12-01 11:02:15 +01:00
parent 3722969f0f
commit 18e0043113
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
version: "3.7"
x-logging: &default-logging
driver: json-file
options:
max-size: "10m"
max-file: "3"
services:
blocker:
build:
context: ./docker/blocker
dockerfile: Dockerfile
args:
branch: main
container_name: blocker
restart: unless-stopped
logging: *default-logging
env_file:
- .env
expose:
- 4000
networks:
shared:
ipv4_address: 10.10.10.102
depends_on:
- mongo
- sia