chore: better naming of docker containers
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
frontend:
|
||||
iptv_restream_frontend:
|
||||
build:
|
||||
context: ../frontend
|
||||
dockerfile: Dockerfile
|
||||
@@ -18,7 +18,7 @@ services:
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
backend:
|
||||
iptv_restream_backend:
|
||||
build:
|
||||
context: ../backend
|
||||
dockerfile: Dockerfile
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
- app-network
|
||||
|
||||
# Nginx Reverse Proxy
|
||||
nginx:
|
||||
iptv_restream_nginx:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
@@ -45,6 +45,7 @@ services:
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
- '81:81'
|
||||
# Nginx Proxy Manager Web - '81:81'
|
||||
volumes:
|
||||
- ./data:/data
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
frontend:
|
||||
iptv_restream_frontend:
|
||||
image: ghcr.io/antebrl/iptv-restream/frontend:v2
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
backend:
|
||||
iptv_restream_backend:
|
||||
image: ghcr.io/antebrl/iptv-restream/backend:v2
|
||||
volumes:
|
||||
- streams_data:/streams
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
- app-network
|
||||
|
||||
# Nginx Reverse Proxy
|
||||
nginx:
|
||||
iptv_restream_nginx:
|
||||
image: ghcr.io/antebrl/iptv-restream/nginx:v2
|
||||
volumes:
|
||||
- streams_data:/streams
|
||||
|
||||
@@ -19,11 +19,11 @@ http {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://frontend:80;
|
||||
proxy_pass http://iptv_restream_frontend:80;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://backend:5000;
|
||||
proxy_pass http://iptv_restream_backend:5000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@@ -34,14 +34,14 @@ http {
|
||||
location /socket.io/ {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://backend:5000;
|
||||
proxy_pass http://iptv_restream_backend:5000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location /proxy/ {
|
||||
proxy_pass http://backend:5000;
|
||||
proxy_pass http://iptv_restream_backend:5000;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
proxy_set_header X-Forwarded-Proto $x_forwarded_proto;
|
||||
|
||||
Reference in New Issue
Block a user