Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-04-24 17:11:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b6a75fafbc9f0ac22d29a44c93d556034515754
0b6a75fa
1 parent
654082c3
update docker compose
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
docker-compose.yml
docker-compose.yml
View file @
0b6a75f
...
...
@@ -20,7 +20,7 @@ services:
ports
:
-
"
5555:5555"
build
:
context
:
back/prisma
context
:
./
back/prisma
dockerfile
:
Dockerfile
environment
:
MYSQL_URL
:
${MYSQL_URL}
...
...
@@ -37,22 +37,22 @@ services:
ports
:
-
"
4000:4000"
build
:
context
:
back
context
:
./
back
dockerfile
:
Dockerfile
environment
:
MYSQL_URL
:
${MYSQL_URL}
FRONTEND_URL
:
${FRONTEND_URL}
volumes
:
-
./back:/app
-
./back/node_modules:/app/node_modules
-
./back/prisma:/app/prisma
-
./back:/
usr/src/
app
-
./back/node_modules:/
usr/src/
app/node_modules
-
./back/prisma:/
usr/src/
app/prisma
frontend
:
container_name
:
frontend
ports
:
-
"
3000:3000"
tty
:
"
true"
build
:
context
:
front
context
:
./
front
dockerfile
:
Dockerfile
command
:
npm start
environment
:
...
...
Please
register
or
login
to post a comment