-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 856 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (39 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: '3.8'
services:
frontend:
image: demoworkeracr.azurecr.io/azure-openai-demo-frontend
platform: linux/arm64
build:
context: ./nextjs-app
dockerfile: Dockerfile
ports:
- "3000:3000"
networks:
- pg_network
backend:
image: demoworkeracr.azurecr.io/azure-openai-demo-backend
platform: linux/arm64
build:
context: ./spring-boot-app
dockerfile: Dockerfile
ports:
- "8080:8080"
networks:
- pg_network
depends_on:
- nginx
nginx:
image: demoworkeracr.azurecr.io/azure-openai-demo-nginx
platform: linux/arm64
# volumes:
# - /nginx/nginx.conf:/etc/nginx/nginx.conf:ro
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- "80:80"
networks:
- pg_network
networks:
pg_network:
driver: bridge