-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (53 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
58 lines (53 loc) · 1.05 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
54
55
56
57
58
version: "3.5"
services:
proxy:
image: nginx
container_name: "proxy"
restart: unless-stopped
volumes:
- ./site.conf:/etc/nginx/conf.d/default.conf
- ./storage:/var/www/html/storage
- web:/var/www/html:ro
env_file:
- .env
depends_on:
- ukfn
networks:
local:
ipv4_address: 172.26.0.4
ukfn:
image: ja573/ukfn
container_name: "ukfn_web"
restart: unless-stopped
volumes:
- ./storage:/var/www/html/storage
- web:/var/www/html
env_file:
- .env
depends_on:
- ukfn_db
networks:
local:
ipv4_address: 172.26.0.3
ukfn_db:
image: ja573/ukfn_db
container_name: "ukfn_db"
restart: unless-stopped
volumes:
#- dump.sql:/docker-entrypoint-initdb.d/dump.sql
- db:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
networks:
local:
ipv4_address: 172.26.0.2
networks:
local:
driver: bridge
ipam:
config:
- subnet: 172.26.0.0/29
volumes:
web:
db: