Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
condenser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
condenser
Commits
9f1d2aaa
Commit
9f1d2aaa
authored
5 years ago
by
roeland lanparty
Browse files
Options
Downloads
Patches
Plain Diff
staging (stg) docker-compose && cmds for run.sh
parent
e488526a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker-compose.staging.yml
+25
-0
25 additions, 0 deletions
docker-compose.staging.yml
run.sh
+17
-1
17 additions, 1 deletion
run.sh
with
42 additions
and
1 deletion
docker-compose.staging.yml
0 → 100644
+
25
−
0
View file @
9f1d2aaa
version
:
"
3"
services
:
hive_condenser_stg
:
build
:
.
image
:
hive/condenser:staging
container_name
:
hive_condenser_stg
environment
:
VIRTUAL_HOST
:
staging-blog.hive.io
VIRTUAL_PORT
:
8080
SDC_CLIENT_STEEMD_URL
:
https://api.hive.blog
SDC_SERVER_STEEMD_URL
:
https://api.hive.blog
SDC_DISABLE_SIGNUPS
:
1
SDC_SITE_DOMAIN
:
staging-blog.hive.io
SDC_IMAGE_PROXY_PREFIX
:
https://images.hive.blog/
SDC_UPLOAD_IMAGE_URL
:
https://images.hive.blog
SDC_HELMET_CONNECTSRC
:
"
'self'
https://api.hive.blog
https://staging.hive.blog
https://images.hive.blog"
WALLET_URL
:
https://wallet.hive.blog
networks
:
-
condenser_reverse-proxy
restart
:
always
networks
:
condenser_reverse-proxy
:
external
:
name
:
condenser_reverse-proxy
This diff is collapsed.
Click to expand it.
run.sh
+
17
−
1
View file @
9f1d2aaa
...
...
@@ -10,6 +10,10 @@ function start {
docker-compose
-f
docker-compose.prod.yml up
-d
;;
"stg"
)
docker-compose
-f
docker-compose.staging.yml up
-d
;;
"dev"
)
docker-compose
-f
docker-compose.dev.yml up
;;
...
...
@@ -31,6 +35,10 @@ function stop {
docker-compose
-f
docker-compose.prod.yml down
;;
"stg"
)
docker-compose
-f
docker-compose.staging.yml down
;;
"dev"
)
docker-compose
-f
docker-compose.dev.yml down
;;
...
...
@@ -52,6 +60,10 @@ function logs {
docker-compose
-f
docker-compose.prod.yml logs
--tail
30
--follow
;;
"stg"
)
docker-compose
-f
docker-compose.staging.yml logs
--tail
30
--follow
;;
"*"
)
echo
Unknown environment
exit
1
...
...
@@ -70,6 +82,10 @@ function build {
docker-compose
-f
docker-compose.prod.yml build
;;
"stg"
)
docker-compose
-f
docker-compose.staging.yml build
;;
"*"
)
echo
Unknown environment
exit
1
...
...
@@ -124,7 +140,7 @@ while test $# -gt 0; do
;;
*
)
echo
"Usage: ./run.sh <start|stop|log> <prod|dev>"
echo
"Usage: ./run.sh <start|stop|log> <prod|
stg|
dev>"
exit
1
;;
esac
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment