From a32a180834af3f3483b5a32429db558707e92b6f Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Fri, 27 Jul 2018 01:24:34 +0000 Subject: [PATCH] Need to add more configuration to gitea for auto setup --- roles/gitea/templates/docker-compose.yml.j2 | 38 ++++++--------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/roles/gitea/templates/docker-compose.yml.j2 b/roles/gitea/templates/docker-compose.yml.j2 index a26cf42..fc4ccdf 100644 --- a/roles/gitea/templates/docker-compose.yml.j2 +++ b/roles/gitea/templates/docker-compose.yml.j2 @@ -1,30 +1,14 @@ version: '2' services: - web: - image: gitea/gitea:1.3.2 - volumes: - - ./data:/data + dokuwiki: + image: 'bitnami/dokuwiki:latest' + labels: + kompose.service.type: nodeport ports: - - "80:3000" - - "2222:22" - restart: always -# networks: -# - db -# depends_on: -# - db -# db: -# image: mariadb:10 -# restart: always -# networks: -# - db -# environment: -# - MYSQL_ROOT_PASSWORD=changeme -# - MYSQL_DATABASE=gitea -# - MYSQL_USER=gitea -# - MYSQL_PASSWORD=changeme -# volumes: -# - db/:/var/lib/mysql -#networks: -# db: -#volumes: -# db: \ No newline at end of file + - '80:80' + - '443:443' + volumes: + - 'dokuwiki_data:/bitnami' +volumes: + dokuwiki_data: + driver: local \ No newline at end of file