diff --git a/README.md b/README.md index 4415bcb..a0b3e84 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,17 @@ That's about what you would expect for the first larger than a few lines python thing (this) I have started from scratch and made functional. To be honest, the HPE side is quite a bird-copter as well. + +# Running development instance + +``` +docker-compose -f docker-compose.dev.yml up --build +``` + +# Deploying + +Deploying in prod: + +``` +docker-compose -f docker-compose.yml up --build -d +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..32963b5 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.7' + +networks: + infra: + external: true + +services: + app: + restart: on-failure + env_file: .env + volumes: + - './config/id_rsa:/bss/.ssh/id_rsa' + networks: + infra: + ipv4_address: 172.21.92.99 + build: + context: .