-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
50 lines (48 loc) · 1.28 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
49
50
version: '2'
services:
#######################################
# PHP application Docker container
#######################################
proxy:
#image: vesica/proxy.waf.network:latest
build:
context: .
dockerfile: Dockerfile
links:
- proxy-memcached
depends_on:
- proxy-memcached
environment:
MEMCACHED_HOST: "proxy-memcached"
MEMCACHED_PORT: "11211"
PROXY_URL: "https://website.url"
WAF_PROXY_NAMESPACE: "MyNameSpace"
WAF_CONFIG_URL: "http://vesica.ws/waf.yml" # This is just a test file
WAF_CONFIG_EXPIRY: "300"
WAF_KEY: "someKey"
LOG_LEVEL: "DEBUG"
ports:
- "80:8080"
volumes:
- .:/var/www
privileged: true
container_name: xproxy
#######################################
# Memcached
#######################################
proxy-memcached:
image: memcached:1.5
container_name: xproxy-memcached
#######################################
# Memcached Admin
#######################################
proxy-memadmin:
image: vesica/memadmin:latest
ports:
- "7074:8080"
environment:
MEMADMIN_USERNAME: proxy
MEMADMIN_PASSWORD: proxy
MEMCACHED_HOST: xproxy-memcached
MEMCACHED_PORT: 11211
container_name: xproxy-memadmin