Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
강동현
2021-06-11 00:40:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
69834b7c2e7fb97cc7c5db6aedbd4cb6a965df82
69834b7c
1 parent
c0693d20
Builds for 1 pipeline
failed
in 1 minute 12 seconds
도커파일, gitlab-ci 수정
Changes
2
Builds
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
22 deletions
.gitlab-ci.yml
docker-compose.yml
.gitlab-ci.yml
View file @
69834b7
...
...
@@ -13,20 +13,7 @@ Test Server:
-
yarn install
-
yarn test
Build
Server
:
Build
:
stage
:
build
script
:
-
cd common
-
yarn install
-
cd ../server
-
yarn install
-
yarn build
Build Web
:
stage
:
build
script
:
-
cd common
-
yarn install
-
cd ../web
-
npm install
-
npm build
-
HOST=2020105578.oss2021.tk SSL_CERT=/etc/letsencrypt/live/2020105578.oss2021.tk/cert.pem SSL_KEY=/etc/letsencrypt/live/2020105578.oss2021.tk/privkey.pem SSL_CA=/etc/letsencrypt/live/2020105578.oss2021.tk/fullchain.pem docker-compose build --no-cache
...
...
docker-compose.yml
View file @
69834b7
...
...
@@ -11,19 +11,19 @@ services:
volumes
:
-
/etc/letsencrypt:/etc/letsencrypt
environment
:
-
SSL_CERT={SSL_CERT}
-
SSL_KEY={SSL_KEY}
-
SSL_CA={SSL_CA}
-
SSL_CERT=
$
{SSL_CERT}
-
SSL_KEY=
$
{SSL_KEY}
-
SSL_CA=
$
{SSL_CA}
web
:
build
:
context
:
.
dockerfile
:
./web/Dockerfile
args
:
-
HOST={HOST}
-
SSL_CERT={SSL_CERT}
-
SSL_KEY={SSL_KEY}
-
SSL_CA={SSL_CA}
-
HOST=
$
{HOST}
-
SSL_CERT=
$
{SSL_CERT}
-
SSL_KEY=
$
{SSL_KEY}
-
SSL_CA=
$
{SSL_CA}
restart
:
unless-stopped
ports
:
-
"
443:443"
...
...
Please
register
or
login
to post a comment