Skip to content
Snippets Groups Projects
Commit 77e11ddc authored by ddamiron's avatar ddamiron
Browse files

add gitlab-ci

add docker logger driver
parent 90c3d5e1
Branches
Tags
1 merge request!1Mkdocs material
stages:
- build
- deploy
build:
stage: build
tags:
- build
only:
- master
script:
- docker-compose build
deploy:
stage: deploy
only:
- master
script:
- docker-compose --project-name portail-data-documentation up -d --force-recreate
...@@ -6,4 +6,9 @@ services: ...@@ -6,4 +6,9 @@ services:
context: ./ context: ./
ports: ports:
- 2077:8000 - 2077:8000
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "5"
restart: on-failure restart: on-failure
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment