Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
shadowban-eu-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
shadowban-eu-backend
Commits
0d222456
Commit
0d222456
authored
Nov 29, 2019
by
Raphael Beer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove: Docker
parent
b2815b91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
39 deletions
+0
-39
docker-compose.development.yml
docker-compose.development.yml
+0
-4
docker-compose.yml
docker-compose.yml
+0
-17
run.sh
run.sh
+0
-18
No files found.
docker-compose.development.yml
deleted
100644 → 0
View file @
b2815b91
version
:
"
3.5"
services
:
tester
:
command
:
[
"
bash"
,
"
./run.sh"
,
"
development"
]
docker-compose.yml
deleted
100644 → 0
View file @
b2815b91
version
:
"
2"
services
:
tester
:
build
:
.
command
:
[
"
bash"
,
"
./docker-entry.sh"
]
env_file
:
${EXPECTED_ENV_FILE}
ports
:
-
"
127.0.0.1:${PORT}:${PORT}"
volumes
:
-
.:/app
networks
:
-
mongodb
networks
:
mongodb
:
external
:
name
:
shadowban-eu_mongodb
run.sh
deleted
100755 → 0
View file @
b2815b91
#/usr/bin/env bash
if
[
"
$1
"
!=
'production'
]
&&
[
"
$1
"
!=
'development'
]
;
then
echo
"Please provide 'production' or 'development' as first argument"
echo
"e.g.
$ $0
development"
exit
fi
EXPECTED_ENV_FILE
=
"./.env.
$1
"
if
[
!
-f
$EXPECTED_ENV_FILE
]
;
then
echo
"Please provide a configuration file {
$EXPECTED_ENV_FILE
}!"
fi
echo
"Using configuration from:
$EXPECTED_ENV_FILE
"
source
$EXPECTED_ENV_FILE
echo
"Listening on:
$PORT
"
PORT
=
$PORT
EXPECTED_ENV_FILE
=
$EXPECTED_ENV_FILE
docker-compose
-f
docker-compose.yml up
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment