arnaucube
arnaucube/tools-containersPublic Self-hosted repository
added gitea and draw.io
arnaucode arnaucode@gmail.com
Tue, 05 Jun 2018 12:34:22 +0200
commit

45137a4abfe61b60bc7fc880c37a89a4009cda19

parent

45890d1df41274cdd62a318a24214fa3e3e1862f

A .gitignore

@@ -0,0 +1,1 @@

+docker-data
M README.md → README.md

@@ -3,19 +3,26 @@

Set of tools inside Docker containers, using docker-compose. ### Current tools -- [x] gitlab / gogs (https://gogs.io/) / gitea (https://gitea.io) +- [x] git + - [ ] gitlab + - [x] gogs (https://gogs.io/) + - [x] gitea (https://gitea.io) - [x] kanboard (https://kanboard.org/) - [x] mumble (murmur) (https://www.mumble.com/) -- [ ] etherpad (http://etherpad.org/) / cryptopad +- [ ] collaborative pads + - [ ] etherpad (http://etherpad.org/) + - [ ] cryptopad - [ ] nextcloud - [x] dudle (https://github.com/kellerben/dudle/) -- [ ] matrix/rocketchat -- [ ] draw.io +- [ ] chat + - [ ] matrix + - [ ] rocketchat +- [x] draw.io Run with ``` -POSTGRES_USER=user1 POSTGRES_PASSWORD=user1 docker-compose up +docker-compose up ``` Ports:

@@ -29,6 +36,10 @@ - etherpad

- 4002 - dudle - 4003 +- draw + - 4004 +- gitea + - 4005 In the directory /launcher there is a webapp with links to all the services.
M docker-compose.yml → docker-compose.yml

@@ -15,14 +15,32 @@ postgres:

image: postgres:9.5 restart: always environment: - - "POSTGRES_USER=${POSTGRES_USER}" - - "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}" + - "POSTGRES_USER=user1" + - "POSTGRES_PASSWORD=user1" - "POSTGRES_DB=gogs" + - "POSTGRES_DB=gitea" - "POSTGRES_DB=pad" volumes: - "db-data:/var/lib/postgresql/data" networks: - gogs + - gitea + + gitea: + image: gitea/gitea:latest + environment: + - USER_UID=1000 + - USER_GID=1000 + restart: always + networks: + - gitea + volumes: + - ./docker-data/gitea:/data + ports: + - "4005:3000" + - "222:22" + depends_on: + - postgres gogs: image: gogs/gogs:latest

@@ -37,7 +55,7 @@ - "RUN_CROND=true"

networks: - gogs volumes: - - "gogs-data:/data" + - ./docker-data/gogs-data:/data depends_on: - postgres

@@ -54,14 +72,28 @@ restart: always

ports: - "4003:80" + # draw: + # build: ./draw + # restart: always + # ports: + # - "4004:8080" + draw: + image: fjudith/draw.io + restart: always + ports: + - "4004:8443" + launcher: - build: ./launcher - ports: - - "8080:8080" + build: ./launcher + restart: always + ports: + - "8080:8080" networks: gogs: + driver: bridge + gitea: driver: bridge volumes:
M launcher/index.html → launcher/index.html

@@ -5,7 +5,7 @@ <head>

<!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - + <link rel="icon" type="image/png" href="img/launcher.png"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">

@@ -15,7 +15,10 @@ </head>

<body> <nav class="navbar navbar-light c_indigoG500to300"> - <a class="navbar-brand" href="#">tools-containers - Launcher</a> + <a class="navbar-brand" href="/"> + <img src="img/launcher.png" width="30" height="30" alt=""> + tools-containers - Launcher + </a> </nav> <br><br> <div class="container">

@@ -25,28 +28,38 @@ <h3>Web Apps</h3>

<hr> <div class="row"> <div class="col-sm-2"> - <a href="http://127.0.0.1:4002" target="_blank" class="btn btn-outline-info" data-toggle="tooltip" data-placement="bottom" title="etherpad"> + <a href="http://127.0.0.1:4002" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="etherpad"> <img src="img/etherpad.png" style="max-width:100px;" alt="etherpad" title="etherpad"> </a> </div> <div class="col-sm-2"> - <a href="http://127.0.0.1:4001" target="_blank" class="btn btn-outline-info" data-toggle="tooltip" data-placement="bottom" title="kanboard"> + <a href="http://127.0.0.1:4001" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="kanboard"> <img src="img/kanboard.png" style="max-width:100px;" alt="kanboard" title="kanboard"> </a> </div> <div class="col-sm-2"> - <a href="http://127.0.0.1:4000" target="_blank" class="btn btn-outline-info" data-toggle="tooltip" data-placement="bottom" title="gogs"> + <a href="http://127.0.0.1:4000" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="gogs"> <img src="img/gogs.png" style="max-width:100px;" alt="gogs" title="gogs"> </a> </div> <div class="col-sm-2"> - <a href="http://127.0.0.1:4000" target="_blank" class="btn btn-outline-info" data-toggle="tooltip" data-placement="bottom" title="nextcloud"> + <a href="http://127.0.0.1:4005" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="gitea"> + <img src="img/gitea.png" style="max-width:100px;" alt="gitea" title="gitea"> + </a> + </div> + <div class="col-sm-2"> + <a href="http://127.0.0.1:4000" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="nextcloud"> <img src="img/nextcloud.png" style="max-width:100px;" alt="nextcloud" title="nextcloud"> </a> </div> <div class="col-sm-2"> - <a href="http://127.0.0.1:4003" target="_blank" class="btn btn-outline-info" data-toggle="tooltip" data-placement="bottom" title="dudle"> + <a href="http://127.0.0.1:4003" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="dudle"> <img src="img/dudle.png" style="max-width:100px;" alt="dudle" title="dudle"> + </a> + </div> + <div class="col-sm-2"> + <a href="http://127.0.0.1:4004" target="_blank" class="btn c_o_indigo300" data-toggle="tooltip" data-placement="bottom" title="draw"> + <img src="img/draw.png" style="max-width:100px;" alt="draw" title="draw"> </a> </div> </div>