Matthias Andreas Benkard | aa40464 | 2019-12-31 13:23:47 +0100 | [diff] [blame] | 1 | version: '3.7' |
| 2 | |
| 3 | services: |
| 4 | haproxy: |
| 5 | image: eeacms/haproxy |
| 6 | depends_on: |
| 7 | - tiki |
| 8 | ports: |
| 9 | - "80:5000" |
| 10 | environment: |
| 11 | BACKENDS: "tiki" |
| 12 | DNS_ENABLED: "true" |
| 13 | LOG_LEVEL: "info" |
| 14 | tiki: |
| 15 | image: tikiwiki/tikiwiki:19.x |
| 16 | depends_on: |
| 17 | - db |
| 18 | deploy: |
| 19 | replicas: 2 |
| 20 | environment: |
| 21 | - TIKI_DB_USER=tiki |
| 22 | - TIKI_DB_PASS=wiki |
| 23 | - TIKI_DB_NAME=tikiwiki |
| 24 | volumes: |
| 25 | - tiki_files:/var/www/html/files/ |
| 26 | - tiki_img_trackers:/var/www/html/img/trackers/ |
| 27 | - tiki_img_wiki_up:/var/www/html/img/wiki_up/ |
| 28 | - tiki_img_wiki:/var/www/html/img/wiki/ |
| 29 | - tiki_modules_cache:/var/www/html/modules/cache/ |
| 30 | - tiki_storage:/var/www/html/storage/ |
| 31 | - tiki_temp:/var/www/html/temp/ |
| 32 | - tiki_sessions:/var/www/sessions/ |
| 33 | db: |
| 34 | image: mariadb |
| 35 | environment: |
| 36 | - MYSQL_USER=tiki |
| 37 | - MYSQL_PASSWORD=wiki |
| 38 | - MYSQL_DATABASE=tikiwiki |
| 39 | - MYSQL_ROOT_PASSWORD=tkwkiiii |
| 40 | - TERM=dumb |
| 41 | volumes: |
| 42 | tiki_files: |
| 43 | tiki_img_trackers: |
| 44 | tiki_img_wiki_up: |
| 45 | tiki_img_wiki: |
| 46 | tiki_modules_cache: |
| 47 | tiki_storage: |
| 48 | tiki_temp: |
| 49 | tiki_sessions: |