-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 1.05 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
version: "3"
networks:
nginx-network:
# external: false
services:
nginx:
image: nginx:latest
container_name: production_nginx
restart: always
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/ssl.conf:/etc/nginx/sslpref.conf
- ./nginx/error.log:/etc/nginx/error_log.log
- ./nginx/cache/:/etc/nginx/cache
- ./nginx/letsencrypt/:/etc/letsencrypt/
- ./nginx/www/:/data/letsencrypt/
networks:
- nginx-network
ports:
- "80:80"
- "443:443"
zoom-coordinator:
container_name: zoom-coordinator
build: ./zoom-coordinator
restart: always
networks:
- nginx-network
ports:
- "80"
volumes:
- ./zoom-coordinator/index.db:/usr/src/app/index.db
mariadb:
container_name: mariadb
image: mariadb:10.4
restart: always
volumes:
- ./mariadb/db/:/var/lib/mysql/
environment:
MYSQL_DATABASE: czc
MYSQL_ROOT_PASSWORD: zoom
MYSQL_USER: zoom
MYSQL_PASSWORD: zoom
networks:
- nginx-network