Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Netguru
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Piotr Maślanka
Netguru
Commits
f35f46ad
Commit
f35f46ad
authored
3 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
fix everything, prepare to deployment
parent
c79cba6f
No related branches found
No related tags found
No related merge requests found
Pipeline
#52556
passed with stages
in 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NOTES.md
+5
-0
5 additions, 0 deletions
NOTES.md
deployment/docker-compose.yml
+48
-0
48 additions, 0 deletions
deployment/docker-compose.yml
with
53 additions
and
0 deletions
NOTES.md
+
5
−
0
View file @
f35f46ad
...
@@ -118,3 +118,8 @@ is rather fast on that and this is a throw-away solution I didn't see the need t
...
@@ -118,3 +118,8 @@ is rather fast on that and this is a throw-away solution I didn't see the need t
it any other way.
it any other way.
I realize that on particularly slow CI servers the build will fail.
I realize that on particularly slow CI servers the build will fail.
# Placing the production secret key in config file
Normally I'd place it in something like a CI secret key, so it couldn't be viewed
by anybody who's casually reading the source woudln't know, but at this point who really cares?
This diff is collapsed.
Click to expand it.
deployment/docker-compose.yml
0 → 100644
+
48
−
0
View file @
f35f46ad
version
:
'
3.4'
services
:
redis
:
image
:
redis
deploy
:
mode
:
replicated
replicas
:
1
restart_policy
:
condition
:
any
delay
:
30s
networks
:
-
netguru
postgres
:
image
:
postgres
environment
:
-
POSTGRES_DB=postgres
-
POSTGRES_USER=postgres
-
POSTGRES_PASSWORD=postgres
deploy
:
mode
:
replicated
replicas
:
1
restart_policy
:
condition
:
any
delay
:
30s
networks
:
-
netguru
netguru
:
build
:
.
depends_on
:
-
postgres
-
redis
environment
:
-
SECREY_KEY=mamdzisiajbardzodobrydzien
-
REDIS_CACHE_HOST=redis:6379
networks
:
-
netguru
-
public
deploy
:
mode
:
replicated
replicas
:
1
restart_policy
:
condition
:
any
delay
:
30s
networks
:
netguru
:
public
:
external
:
true
name
:
dms_public
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