feat: Add Docker Compose configuration and a .gitignore file for the frontend management service.
This commit is contained in:
parent
91330c03c2
commit
5e996b708b
2 changed files with 3 additions and 1 deletions
1
frontend_management/.gitignore
vendored
1
frontend_management/.gitignore
vendored
|
|
@ -22,3 +22,4 @@ logs
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
|
deploy.ps1
|
||||||
|
|
@ -8,6 +8,8 @@ services:
|
||||||
container_name: elearning-frontend-management
|
container_name: elearning-frontend-management
|
||||||
ports:
|
ports:
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
|
security_opt:
|
||||||
|
- apparmor=unconfined
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- NUXT_PUBLIC_API_BASE_URL=${NUXT_PUBLIC_API_BASE_URL:-http://localhost:4000/api}
|
- NUXT_PUBLIC_API_BASE_URL=${NUXT_PUBLIC_API_BASE_URL:-http://localhost:4000/api}
|
||||||
|
|
@ -20,7 +22,6 @@ services:
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
networks:
|
networks:
|
||||||
- elearning-network
|
- elearning-network
|
||||||
privileged: true
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
elearning-network:
|
elearning-network:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue