Skip to content

Commit ae13692

Browse files
author
Rafael Bermudez Guijo
committed
build: Move default location to /client to mantain compatibility
1 parent 41fa4c8 commit ae13692

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM php:8.1-apache
22

3-
COPY ./ /var/www/html/
3+
COPY ./ /var/www/html/client
44

55
RUN a2enmod rewrite
66
RUN a2enmod expires

docker-compose.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ version: '1.0'
22
services:
33
dvb-i-reference-client:
44
# Comment build and uncomment image if you want to use prebuilt image rather than build from the source code
5-
#build: .
5+
# build: .
66
image: ghcr.io/ccma-enginyeria/dvb-i-reference-client/dvb-i-reference-client:latest
7-
# Comment volumes if you want to use your own code rather than use from docker image
8-
volumes:
9-
- ./:/var/www/html/
7+
# Uncomment volumes if you want to use the source code rather than use from docker image
8+
# volumes:
9+
# - ./:/var/www/html/client
1010
environment:
11-
- no_proxy=localhost,127.0.0.1
12-
- INSTALL_LOCATION=http://localhost:8888
11+
- INSTALL_LOCATION=${INSTALL_LOCATION:-http://localhost:8888/client}
1312
ports:
1413
- "8888:80"

frontend/configuration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DVB-I Reference installation location -- also backend/configuration.php
2-
var INSTALL_LOCATION = "";
2+
var INSTALL_LOCATION = "/client";
33

44
// set to true to include <Service> channels that are not included in the selected LCN table.
55
var INCLUDE_NON_LCN_CHANNELS = false;

0 commit comments

Comments
 (0)