Browse Source

added gitea and draw.io

master
arnaucode 6 years ago
parent
commit
45137a4abf
7 changed files with 75 additions and 18 deletions
  1. +1
    -0
      .gitignore
  2. +16
    -5
      README.md
  3. +38
    -6
      docker-compose.yml
  4. BIN
      launcher/img/draw.png
  5. BIN
      launcher/img/gitea.png
  6. BIN
      launcher/img/launcher.png
  7. +20
    -7
      launcher/index.html

+ 1
- 0
.gitignore

@ -0,0 +1 @@
docker-data

+ 16
- 5
README.md

@ -3,19 +3,26 @@
Set of tools inside Docker containers, using docker-compose. Set of tools inside Docker containers, using docker-compose.
### Current tools ### 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] kanboard (https://kanboard.org/)
- [x] mumble (murmur) (https://www.mumble.com/) - [x] mumble (murmur) (https://www.mumble.com/)
- [ ] etherpad (http://etherpad.org/) / cryptopad
- [ ] collaborative pads
- [ ] etherpad (http://etherpad.org/)
- [ ] cryptopad
- [ ] nextcloud - [ ] nextcloud
- [x] dudle (https://github.com/kellerben/dudle/) - [x] dudle (https://github.com/kellerben/dudle/)
- [ ] matrix/rocketchat
- [ ] draw.io
- [ ] chat
- [ ] matrix
- [ ] rocketchat
- [x] draw.io
Run with Run with
``` ```
POSTGRES_USER=user1 POSTGRES_PASSWORD=user1 docker-compose up
docker-compose up
``` ```
Ports: Ports:
@ -29,6 +36,10 @@ Ports:
- 4002 - 4002
- dudle - dudle
- 4003 - 4003
- draw
- 4004
- gitea
- 4005
In the directory /launcher there is a webapp with links to all the services. In the directory /launcher there is a webapp with links to all the services.

+ 38
- 6
docker-compose.yml

@ -15,14 +15,32 @@ services:
image: postgres:9.5 image: postgres:9.5
restart: always restart: always
environment: environment:
- "POSTGRES_USER=${POSTGRES_USER}"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
- "POSTGRES_USER=user1"
- "POSTGRES_PASSWORD=user1"
- "POSTGRES_DB=gogs" - "POSTGRES_DB=gogs"
- "POSTGRES_DB=gitea"
- "POSTGRES_DB=pad" - "POSTGRES_DB=pad"
volumes: volumes:
- "db-data:/var/lib/postgresql/data" - "db-data:/var/lib/postgresql/data"
networks: networks:
- gogs - 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: gogs:
image: gogs/gogs:latest image: gogs/gogs:latest
@ -37,7 +55,7 @@ services:
networks: networks:
- gogs - gogs
volumes: volumes:
- "gogs-data:/data"
- ./docker-data/gogs-data:/data
depends_on: depends_on:
- postgres - postgres
@ -54,15 +72,29 @@ services:
ports: ports:
- "4003:80" - "4003:80"
# draw:
# build: ./draw
# restart: always
# ports:
# - "4004:8080"
draw:
image: fjudith/draw.io
restart: always
ports:
- "4004:8443"
launcher: launcher:
build: ./launcher
ports:
- "8080:8080"
build: ./launcher
restart: always
ports:
- "8080:8080"
networks: networks:
gogs: gogs:
driver: bridge driver: bridge
gitea:
driver: bridge
volumes: volumes:
kanboard_data: kanboard_data:

BIN
launcher/img/draw.png

Before After
Width: 220  |  Height: 300  |  Size: 19 KiB

BIN
launcher/img/gitea.png

Before After
Width: 400  |  Height: 400  |  Size: 14 KiB

BIN
launcher/img/launcher.png

Before After
Width: 512  |  Height: 512  |  Size: 25 KiB

+ 20
- 7
launcher/index.html

@ -5,7 +5,7 @@
<!-- Required meta tags --> <!-- Required meta tags -->
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <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 --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
@ -15,7 +15,10 @@
<body> <body>
<nav class="navbar navbar-light c_indigoG500to300"> <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> </nav>
<br><br> <br><br>
<div class="container"> <div class="container">
@ -25,30 +28,40 @@
<hr> <hr>
<div class="row"> <div class="row">
<div class="col-sm-2"> <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"> <img src="img/etherpad.png" style="max-width:100px;" alt="etherpad" title="etherpad">
</a> </a>
</div> </div>
<div class="col-sm-2"> <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"> <img src="img/kanboard.png" style="max-width:100px;" alt="kanboard" title="kanboard">
</a> </a>
</div> </div>
<div class="col-sm-2"> <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"> <img src="img/gogs.png" style="max-width:100px;" alt="gogs" title="gogs">
</a> </a>
</div> </div>
<div class="col-sm-2"> <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"> <img src="img/nextcloud.png" style="max-width:100px;" alt="nextcloud" title="nextcloud">
</a> </a>
</div> </div>
<div class="col-sm-2"> <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"> <img src="img/dudle.png" style="max-width:100px;" alt="dudle" title="dudle">
</a> </a>
</div> </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> </div>
<br><br> <br><br>

Loading…
Cancel
Save