mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-08-16 15:24:46 +00:00
Frontent dev env (#247)
* Added frontend development files/environment * More items-categories related removals * Improvements in pages templates (inc. static pages) * Improvements in video player * Added empty home page message + cta * Updates in media, playlist and management pages * Improvements in material icons font loading * Replaced media & playlists links in frontend dev-env * frontend package version update * chnaged frontend dev url port * static files update * Changed default position of theme switcher * enabled frontend docker container
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
# frontend:
|
||||
# image: node:14
|
||||
# volumes:
|
||||
# - ${PWD}/frontend:/home/mediacms.io/mediacms/frontend/
|
||||
# working_dir: /home/mediacms.io/mediacms/frontend/
|
||||
# command: bash -c "npm install && npm run start"
|
||||
# env_file:
|
||||
# - ${PWD}/frontend/.env
|
||||
# ports:
|
||||
# - "8097:8097"
|
||||
# depends_on:
|
||||
# - web
|
||||
frontend:
|
||||
image: node:14
|
||||
volumes:
|
||||
- ${PWD}/frontend:/home/mediacms.io/mediacms/frontend/
|
||||
working_dir: /home/mediacms.io/mediacms/frontend/
|
||||
command: bash -c "npm install && npm run start"
|
||||
env_file:
|
||||
- ${PWD}/frontend/.env
|
||||
ports:
|
||||
- "8088:8088"
|
||||
depends_on:
|
||||
- web
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
@ -60,7 +60,7 @@ services:
|
||||
image: "redis:alpine"
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli","ping"]
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
retries: 3
|
||||
|
Reference in New Issue
Block a user