blob: 1b6d62acfef37e94cc2492ca99385a7ef8519952 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
server:
build: ./
container_name: "php-server"
mem_limit: 1g
memswap_limit: 1g
cpu_shares: 5
restart: "on-failure:2"
ports:
- "80:80"
- "443:443"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "php"
CONTAINER_INSTANCE: "service-apache_php"
SERVER_NAME: "localhost"
DOC_ROOT: "/data/apache_php"
volumes:
- "/tmp/container/logs/apache_php:/data/logs/apache_php"
- "/tmp/container/apache_php:/data/apache_php"
|