-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 903 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 903 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
services:
# ─── Nginx Proxy Manager (Handles ports 80 & 443, SSL, proxy routing) ───
nginx-proxy-manager:
image: jc21/nginx-proxy-manager:latest
container_name: nginx-proxy-manager
ports:
- "80:80" # HTTP
- "443:443" # HTTPS
- "81:81" # Admin Panel
volumes:
- npm_data:/data
- npm_letsencrypt:/etc/letsencrypt
restart: unless-stopped
networks:
- proxy-network
# ─── Thiran Web Application ───
thiran-web:
build:
context: .
dockerfile: Dockerfile
image: thiran-client:latest
container_name: thiran-web
restart: unless-stopped
environment:
- NODE_ENV=production
networks:
- proxy-network
# No "ports" exposed to host — only accessible via proxy-network
volumes:
npm_data:
npm_letsencrypt:
networks:
proxy-network:
driver: bridge