Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
raven-administration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raven
raven-administration
Commits
df7edab6
Commit
df7edab6
authored
7 months ago
by
Christoffer Stoll
Browse files
Options
Downloads
Patches
Plain Diff
Added variable for container name in docker-compose file
parent
eb0ee3b0
No related branches found
No related tags found
1 merge request
!28
Added variable for container name in docker-compose file
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+4
-0
4 additions, 0 deletions
CHANGELOG.md
README.md
+2
-0
2 additions, 0 deletions
README.md
docker-compose.yml
+4
-4
4 additions, 4 deletions
docker-compose.yml
with
10 additions
and
4 deletions
CHANGELOG.md
+
4
−
0
View file @
df7edab6
...
...
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
Changes before version 3.1.0 is not included
## [latest commits]
-
Added variable for container name in docker-compose file
## [3.1.1] - 2024-06-28
### Fixed
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
0
View file @
df7edab6
...
...
@@ -38,6 +38,8 @@ CLIENT_PORT=80
DB_URI = postgresql://dbuser:password@host:5432/database
JWT_ACCESS_TOKEN_EXPIRES_SECONDS = 3600
JWT_SECRET_KEY = make-up-a-secure-key
CONTAINER_NAME_API = raven-api
CONTAINER_NAME_CLIENT = raven-client
```
`Hint: Use host.docker.internal if database is local. Ip 172.17.0.1 for Linux`
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
4
−
4
View file @
df7edab6
...
...
@@ -3,8 +3,8 @@ services:
build
:
context
:
.
dockerfile
:
Dockerfile.api
image
:
raven-api
container_name
:
raven-api
image
:
${CONTAINER_NAME_API:-
raven-api
}
container_name
:
${CONTAINER_NAME_API:-
raven-api
}
sysctls
:
-
net.ipv4.tcp_keepalive_time=200
ports
:
...
...
@@ -14,8 +14,8 @@ services:
build
:
context
:
.
dockerfile
:
Dockerfile.client
image
:
raven-client
container_name
:
raven-client
image
:
${CONTAINER_NAME_CLIENT:-
raven-client
}
container_name
:
${CONTAINER_NAME_CLIENT:-
raven-client
}
depends_on
:
-
api
ports
:
...
...
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