Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
1019f765
Commit
1019f765
authored
Feb 26, 2018
by
Laury Bueno
Browse files
Redis and local network added
parent
a5f55e79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
local.yml
local.yml
+15
-1
No files found.
local.yml
View file @
1019f765
version
:
'
2
'
version
:
'
3.5
'
volumes
:
volumes
:
db_data
:
{}
db_data
:
{}
networks
:
base_django_project
:
name
:
base_django_project
services
:
services
:
redis
:
image
:
redis:3.2
hostname
:
redis
networks
:
-
base_django_project
django
:
django
:
build
:
build
:
context
:
.
context
:
.
...
@@ -20,6 +30,8 @@ services:
...
@@ -20,6 +30,8 @@ services:
ports
:
ports
:
-
"
8000:8000"
-
"
8000:8000"
command
:
/runserver.sh
command
:
/runserver.sh
networks
:
-
base_django_project
postgres
:
postgres
:
image
:
postgres:9.6
image
:
postgres:9.6
...
@@ -29,3 +41,5 @@ services:
...
@@ -29,3 +41,5 @@ services:
-
POSTGRES_DB=django
-
POSTGRES_DB=django
-
POSTGRES_USER=django
-
POSTGRES_USER=django
-
POSTGRES_PASSWORD=django
-
POSTGRES_PASSWORD=django
networks
:
-
base_django_project
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