Ready for new update

This commit is contained in:
frikky
2020-05-23 10:59:51 +02:00
parent c68aba0874
commit b6e14f91fe
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -11,4 +11,5 @@ APP_DOWNLOAD_AUTH_PASSWORD=""
BACKEND_HOSTNAME=shuffle-backend
BACKEND_PORT=5010
FRONTEND_PORT=3001
FRONTEND_PORT_HTTPS=3443
OUTER_HOSTNAME=shuffle-backend
+3 -2
View File
@@ -1,13 +1,13 @@
version: '3'
services:
frontend:
build: ./frontend
#build: ./frontend
image: frikky/shuffle:frontend
container_name: shuffle-frontend
hostname: shuffle-frontend
ports:
- "${FRONTEND_PORT}:80"
- "3002:443"
- "${FRONTEND_PORT_HTTPS}:443"
networks:
- shuffle
restart: unless-stopped
@@ -57,6 +57,7 @@ services:
- ORG_ID=${ORG_ID}
- ENVIRONMENT_NAME=${ENVIRONMENT_NAME}
- BASE_URL=http://${OUTER_HOSTNAME}:${BACKEND_PORT}
- DOCKER_API_VERSION=1.40
restart: unless-stopped
networks:
shuffle:
+1 -1
View File
@@ -11,7 +11,7 @@ echo "Starting server"
# Rerun build locally for it to update :)
docker run -it \
-p 3001:80 \
-p 3443:443 \
-p 3002:443 \
-v $(pwd)/build:/usr/share/nginx/html:ro \
--rm \
nginx