-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (38 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
43 lines (38 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
version: '2'
services:
# Reverse proxy
web:
image: nginx
ports:
- '80:80'
volumes:
- ./volumes/etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./volumes/etc/nginx/conf.d:/etc/nginx/conf.d
- ./volumes/var/www/html:/var/www/html
- ./volumes/var/www/html/omniconfig/city:/var/www/html/goteo/city/omniconfig
- ./volumes/var/www/html/omniconfig/city:/var/www/html/wordpress/city/omniconfig
restart: always
depends_on:
- goteo_city
- wp_city
# ==========================
# LOCALGOOD sample city
# ==========================
goteo_city:
build:
context: ./build/goteo
volumes:
- ./volumes/var/www/html/goteo/city:/var/www/html
- ./volumes/var/www/html/omniconfig/city:/var/www/html/omniconfig
env_file:
- ./city.env
restart: always
wp_city:
build:
context: ./build/wp
volumes:
- ./volumes/var/www/html/wordpress/city:/var/www/html
- ./volumes/var/www/html/omniconfig/city:/var/www/html/omniconfig
env_file:
- ./city.env
restart: always