mirror of https://github.com/Lissy93/dashy.git
🐳 Update options and port for Dockerfile
This commit is contained in:
parent
743b5340f8
commit
a6381a4a7e
8
.env
8
.env
|
@ -24,6 +24,12 @@
|
||||||
# Defaults to true
|
# Defaults to true
|
||||||
# REDIRECT_HTTPS=true
|
# REDIRECT_HTTPS=true
|
||||||
|
|
||||||
|
# The path to the user data directory
|
||||||
|
# USER_DATA_DIR=user-data
|
||||||
|
|
||||||
|
# Override where the path to the configuration file is, can be a remote URL
|
||||||
|
# VUE_APP_CONFIG_PATH=/conf.yml
|
||||||
|
|
||||||
# Usually the same as BASE_URL, but accessible in frontend
|
# Usually the same as BASE_URL, but accessible in frontend
|
||||||
# VUE_APP_DOMAIN=https://dashy.to
|
# VUE_APP_DOMAIN=https://dashy.to
|
||||||
|
|
||||||
|
@ -46,4 +52,4 @@
|
||||||
# VUE_APP_VERSION=2.0.0
|
# VUE_APP_VERSION=2.0.0
|
||||||
|
|
||||||
# Directory for conf.yml backups
|
# Directory for conf.yml backups
|
||||||
# BACKUP_DIR=./public/
|
# BACKUP_DIR=./user-data/
|
||||||
|
|
|
@ -28,7 +28,7 @@ RUN yarn build --mode production
|
||||||
FROM node:20.11.1-alpine3.19
|
FROM node:20.11.1-alpine3.19
|
||||||
|
|
||||||
# Define some ENV Vars
|
# Define some ENV Vars
|
||||||
ENV PORT=80 \
|
ENV PORT=8080 \
|
||||||
DIRECTORY=/app \
|
DIRECTORY=/app \
|
||||||
IS_DOCKER=true
|
IS_DOCKER=true
|
||||||
|
|
||||||
|
|
|
@ -12,21 +12,17 @@ services:
|
||||||
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
|
||||||
# build: .
|
# build: .
|
||||||
|
|
||||||
# Or, to use a Dockerfile for your archtecture, uncomment the following
|
|
||||||
# context: .
|
|
||||||
# dockerfile: ./docker/Dockerfile-arm32v7
|
|
||||||
|
|
||||||
# You can also use an image with a different tag, or pull from a different registry, e.g:
|
# You can also use an image with a different tag, or pull from a different registry, e.g:
|
||||||
# image: ghcr.io/lissy93/dashy or image: lissy93/dashy:arm64v8
|
# image: ghcr.io/lissy93/dashy or image: lissy93/dashy:3.0.0
|
||||||
|
|
||||||
# Pass in your config file below, by specifying the path on your host machine
|
# Pass in your config file below, by specifying the path on your host machine
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /path/to/my-config.yml:/app/public/conf.yml
|
# - /path/to/my-config.yml:/app/user-data/conf.yml
|
||||||
# - /path/to/item-icons:/app/public/item-icons
|
# - /path/to/item-icons:/app/user-data/item-icons/
|
||||||
|
|
||||||
# Set port that web service will be served on. Keep container port as 80
|
# Set port that web service will be served on. Keep container port as 80
|
||||||
ports:
|
ports:
|
||||||
- 4000:80
|
- 4000:8080
|
||||||
|
|
||||||
# Set any environmental variables
|
# Set any environmental variables
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue