-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (39 loc) · 1005 Bytes
/
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
version: '3'
services:
one:
build:
context: .
dockerfile: Dockerfile
args:
www_folder: www
nginx_conf: nginx.conf
image: keyweeusr/onser:one
volumes:
- onser_volume_one:/home/onser/www
restart: on-failure
two:
build:
context: .
dockerfile: Dockerfile
args:
www_folder: www2
nginx_conf: nginx.conf
image: keyweeusr/onser:two
volumes:
- onser_volume_two:/home/onser/www
restart: on-failure
three:
build:
context: .
dockerfile: Dockerfile
args:
www_folder: www3
nginx_conf: nginx.conf
image: keyweeusr/onser:three
volumes:
- onser_volume_three:/home/onser/www
restart: on-failure
volumes:
onser_volume_one:
onser_volume_two:
onser_volume_three: