-
Notifications
You must be signed in to change notification settings - Fork 45
/
docker-compose.yml
executable file
·88 lines (80 loc) · 1.95 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '2'
services:
mysql:
image: mariadb
container_name: "passwords-mysql"
command: --transaction-isolation=READ-COMMITTED --skip-innodb-read-only-compressed
volumes:
- mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=nextcloud
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
build: ./docker/php/
container_name: "passwords-php"
links:
- mysql
volumes:
- ./docker/volumes/nextcloud:/var/www/html
- ./src/:/var/www/html/custom_apps/passwords:ro
cap_add:
- SYS_ADMIN
environment:
- NEXTCLOUD_ADMIN_USER=admin
- NEXTCLOUD_ADMIN_PASSWORD=admin
- SMTP_HOST=passwords-mail
- SMTP_PORT=1025
- MAIL_DOMAIN=passwords.app
- MAIL_FROM_ADDRESS=noreply
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=mysql:3306
external_links:
- "web:passwords.local"
web:
build: ./docker/nginx/
container_name: "passwords-nginx"
ports:
- 80:80
- 443:443
- 1080:1080
- 8080:8080
links:
- app
volumes_from:
- app
volumes:
- ./docker/volumes/nginx:/etc/ssl/nginx/localhost
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: "passwords-phpmyadmin"
links:
- mysql
environment:
MYSQL_ROOT_PASSWORD: "nextcloud"
PMA_ABSOLUTE_URI: https://localhost:8080
PMA_HOSTS: mysql
PMA_USER: root
PMA_PASSWORD: nextcloud
mail:
image: mailhog/mailhog
container_name: "passwords-mail"
user: root
iconserver:
image: matthiasluedtke/iconserver
container_name: "passwords-iconserver"
environment:
PORT: 7070
imaginary:
image: nextcloud/aio-imaginary:latest
container_name: "passwords-imaginary"
environment:
PORT: 9000
IMAGINARY_SECRET: "passwords"
cap_add:
- SYS_NICE
volumes:
mysql: