Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project Allocator
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
Service Desk
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
edtech
Project Allocator
Commits
22884ed6
Commit
22884ed6
authored
2 years ago
by
Ivan Procaccini
Browse files
Options
Downloads
Patches
Plain Diff
Chore: Update docker-compose
parent
4f1bc736
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#311518
failed
2 years ago
Stage: lint
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+1
-13
1 addition, 13 deletions
docker-compose.yml
with
1 addition
and
13 deletions
docker-compose.yml
+
1
−
13
View file @
22884ed6
version
:
"
3.9"
services
:
db
:
image
:
postgres
environment
:
-
POSTGRES_USER
-
POSTGRES_PASSWORD
-
POSTGRES_DB
volumes
:
-
postgres_data:/var/lib/postgresql/data
web
:
image
:
${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}
environment
:
-
ENV=production
-
SECRET_KEY
-
DB_URL=postgresql://$POSTGRES_USER:$POSTGRES_PASSWORD@db/$POSTGRES_DB
depends_on
:
-
db
-
DB_URL
reverse_proxy
:
image
:
${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-nginx
ports
:
...
...
@@ -25,5 +15,3 @@ services:
depends_on
:
-
web
volumes
:
postgres_data
:
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