Este commit está contenido en:
Your Name
2020-05-28 10:45:47 +00:00
padre 94e05c5707
commit 8e5fb9911c
Se han modificado 2 ficheros con 43 adiciones y 0 borrados

Ver fichero

@@ -0,0 +1,40 @@
version: '2'
services:
kanban:
image: wekanteam/wekan
restart: always
hostname: kanban
container_name: kanban
entrypoint:
- /bin/bash
- entrypoint.sh
environment:
- MONGO_URL=mongodb://kanban-db/databasename
- ROOT_URL=https://kanban.hatthieves.es
- MAIL_URL=smtps://webmaster:w3bm4st3r.@smtp.hatthieves.es:587/
volumes:
- ./entrypoint.sh:/entrypoint.sh
expose:
- 8080
networks:
mynet:
ipv4_address: 172.27.0.101
kanban-db:
image: mongo
restart: always
container_name: kanban-db
hostname: kanban-db
volumes:
- ./data:/data/db
networks:
mynet:
ipv4_address: 172.27.0.102
networks:
mynet:
driver: bridge
ipam:
config:
- subnet: 172.27.0.0/24

3
testing/kanban/entrypoint.sh Archivo normal
Ver fichero

@@ -0,0 +1,3 @@
#!/bin/bash
# cd /build/programs/server && npm install
cd /build && node main.js