-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (51 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
53 lines (51 loc) · 1.06 KB
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
version: '3'
networks:
ljpc_mailproxygui:
services:
proxy:
build: ./proxy
restart: unless-stopped
volumes:
- ./templates:/etc/nginx/templates
- ./web:/var/www/html
- ./cms:/var/www/cms
- ${SSL_FOLDER}:/etc/nginx/ssl
environment:
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/templates
- SSL_CERT_FILE=${SSL_CERT_FILE}
- SSL_KEY_FILE=${SSL_KEY_FILE}
- DOMAIN=${DOMAIN}
ports:
- "993:993"
- "995:995"
- "587:587"
- "25:25"
- "110:110"
- "143:143"
- "8080:80"
links:
- php
networks:
- ljpc_mailproxygui
php:
build: ./php
restart: unless-stopped
volumes:
- ./web:/var/www/html
- ./cms:/var/www/cms
depends_on:
- db
links:
- db
networks:
- ljpc_mailproxygui
db:
build: ./db
restart: unless-stopped
volumes:
- ./data/db:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=3h0aZvklAqkZgNmoubOfNb7p7PAID4CQ
- MARIADB_DATABASE=database
networks:
- ljpc_mailproxygui