-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1012 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 1012 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
services:
nginx:
image: nginx:latest
container_name: autumn-ui-nginx
restart: always
ports:
- "80:80" # Map HTTP traffic to NGINX
#- "443:443" # Optional: Map HTTPS traffic if using SSL
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro # Mount custom NGINX config
# - /etc/letsencrypt:/etc/letsencrypt:ro # Optional: Mount Let's Encrypt certificates
depends_on:
- web
networks:
- autumn-ui-network
web:
build: .
container_name: autumn-ui-web
restart: always
expose:
- "8080"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- StoreDatabaseSettings__ConnectionString=${CONNECTION_STRING}
- Auth0__Domain=${AUTH0_DOMAIN}
- Auth0__Audience=${AUTH0_AUDIENCE}
- SiteSettings__GroqApiKey=${GROQAPIKEY}
- SiteSettings__GroqModel=llama-3.1-8b-instant
- SiteSettings__Threshold=0.1
networks:
- autumn-ui-network
networks:
autumn-ui-network:
driver: bridge