Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
cd004168
Commit
cd004168
authored
Mar 07, 2018
by
Guilhem Saurel
Browse files
remove useless configuration
parent
32aab1f4
Pipeline
#400
passed with stages
in 52 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
cd004168
...
...
@@ -27,8 +27,18 @@ You can then go to http://localhost:8000
## Prod
### Traefik
```
docker network create web
cd traefik
docker-compose up -d
```
### Dashboard
```
docker-compose build
docker-compose up -d
docker-compose exec app ./manage.py collectstatic --noinput
docker-compose exec app ./manage.py migrate
```
docker-compose.yml
View file @
cd004168
...
...
@@ -23,10 +23,7 @@ services:
volumes
:
-
static:/srv/static
-
media:/srv/media
expose
:
-
8000
labels
:
-
"
traefik.backend=dashboard"
-
"
traefik.frontend.rule=Host:rainboard.laas.fr"
networks
:
-
web
...
...
traefik/traefik.toml
View file @
cd004168
...
...
@@ -6,6 +6,6 @@ defaultEntryPoints = ["http"]
[docker]
endpoint
=
"unix:///var/run/docker.sock"
domain
=
"
rainboard.laas.fr
"
domain
=
"
docker.localhost
"
watch
=
true
exposedbydefault
=
true
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment