This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
loki/docker-compose.yml

66 lines
1.2 KiB
YAML
Raw Normal View History

2017-09-16 22:27:47 +02:00
version: '2'
volumes:
vol_wiki:
2017-09-16 22:53:23 +02:00
vol_nextcloud:
vol_nextcloud_db:
2017-09-16 22:27:47 +02:00
services:
html:
container_name: docker_html
build: html
image: html
2017-09-16 22:53:23 +02:00
restart: always
2017-09-16 22:27:47 +02:00
wiki:
container_name: docker_wiki
build: dokuwiki
image: wiki
volumes:
- vol_wiki:/var/dokuwiki-storage
2017-09-16 22:53:23 +02:00
restart: always
nextcloud-db:
container_name: nextcloud_db
image: mariadb
volumes:
- vol_nextcloud_db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
restart: always
nextcloud:
container_name: nextcloud
image: nextcloud:fpm
links:
- nextcloud-db
volumes:
- vol_nextcloud:/var/www/html
restart: always
nextcloud-web:
container_name: docker_cloud
image: nginx
links:
- nextcloud
volumes:
- ./nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- nextcloud
restart: always
2017-09-16 22:27:47 +02:00
proxy:
2017-09-16 22:53:23 +02:00
container_name: proxy
2017-09-16 22:27:47 +02:00
build: nginx-proxy
image: proxy
ports:
- 80:80
links:
- html
- wiki
2017-09-16 22:53:23 +02:00
- nextcloud-web
2017-09-16 22:27:47 +02:00
restart: always