-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
46 lines (42 loc) · 1.08 KB
/
docker-compose.development.yml
File metadata and controls
46 lines (42 loc) · 1.08 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
version: "3.7"
services:
server:
image: "nginx:1.18"
container_name: "dev-voice-neko-report-server"
environment:
VIRTUAL_HOST: "dev.voice.neko.report"
LETSENCRYPT_HOST: "dev.voice.neko.report"
volumes:
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
- "./nginx/conf.d:/etc/nginx/conf.d"
- "./nginx/certs:/etc/nginx/certs"
- "./app:/usr/share/nginx/html"
networks:
dev-voice-neko-report-network:
aliases:
- "server"
nginx-network:
php-fpm:
image: "php-fpm:voice-neko-report"
build:
context: "./"
dockerfile: "Dockerfile.php-fpm"
container_name: "dev-voice-neko-report-php-fpm"
volumes:
- "./php/php.ini:/usr/local/etc/php/php.ini"
- "./app:/var/www/html"
networks:
dev-voice-neko-report-network:
aliases:
- "php-fpm"
mysql-network:
networks:
dev-voice-neko-report-network:
name: "dev-voice-neko-report-network"
ipam:
config:
- subnet: "172.43.0.0/24"
nginx-network:
external: true
mysql-network:
external: true