File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # Azure Vote Example
2+
3+ This example have two containers:
4+
5+ * backend: ` redis ` used as storage
6+ * frontend: having supervisord, nginx, uwsgi/python
7+
8+
9+ ```
10+ echo "HOST_PORT=8080" > .env
11+ podman-compose up
12+ ```
13+
14+ after typing the commands above open your browser on the host port you picked above like
15+ [ http://localhost:8080/ ] ( http://localhost:8080/ )
16+
17+
Original file line number Diff line number Diff line change 1+ ---
2+ # from https://github.com/Azure-Samples/azure-voting-app-redis/blob/master/docker-compose.yaml
3+ version : ' 3'
4+ services :
5+ azure-vote-back :
6+ image : mcr.microsoft.com/oss/bitnami/redis:6.0.8
7+ container_name : azure-vote-back
8+ environment :
9+ ALLOW_EMPTY_PASSWORD : " yes"
10+ azure-vote-front :
11+ image : mcr.microsoft.com/azuredocs/azure-vote-front:v1
12+ environment :
13+ REDIS : azure-vote-back
14+ ports :
15+ - " ${HOST_PORT:-8080}:80"
16+
You can’t perform that action at this time.
0 commit comments