feat: initialize Nuxt.js frontend application with Docker setup, global styling, and authentication pages.
This commit is contained in:
parent
cf37d7371c
commit
dfcabe306c
7 changed files with 238 additions and 12 deletions
26
frontend_management/docker-compose.yml
Normal file
26
frontend_management/docker-compose.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
frontend_management:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: elearning-frontend-management
|
||||
ports:
|
||||
- "3001:3001"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- NUXT_PUBLIC_API_BASE_URL=${NUXT_PUBLIC_API_BASE_URL:-http://localhost:4000/api}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3001" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
networks:
|
||||
- elearning-network
|
||||
|
||||
networks:
|
||||
elearning-network:
|
||||
driver: bridge
|
||||
Loading…
Add table
Add a link
Reference in a new issue