Apr 29 2021 07:50 AM - edited Apr 29 2021 07:51 AM
Hello, I am new to docker and azure.
I am trying to deploy a docker web app. I am using docker-compose to build an app and a proxy. Here is the docker-compose file.
version: '3.7'
services:
app:
build:
context: .
volumes:
- static_data:/vol/web
environment:
- SECRET_KEY=samplesecretkey123
- ALLOWED_HOSTS=127.0.0.1,localhost
proxy:
build:
context: ./proxy
volumes:
- static_data:/vol/static
ports:
- "8080:8080"
depends_on:
- app
volumes:
static_data:
Here is the folder structure,
For context, I am using this tutorial
Docker-compose works perfectly on my system and the images look like this
I am aware of web apps for container, but I can't seem to understand how to deploy my project on Azure. Any help would be appreciated.
Please let me know if you need to see any other part of my code.
Thanks in advance!