summaryrefslogtreecommitdiffstats
path: root/Services/php/docker-compose.yml
blob: fe532d95d1b3f1123b378de5d30f2589db69c38a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
server:
  build: ./
  container_name: "service-php"
  mem_limit: 1g
  memswap_limit: 1g
  cpu_shares: 5
  restart: "on-failure:2"
  ports:
    - "9213:80"
    - "9214:443"
  environment:
    CONTAINER_TYPE: "service"
    CONTAINER_SERVICE: "php"
    CONTAINER_INSTANCE: "service-php"
    SERVER_NAME: "localhost"
  volumes:
    - "/tmp/container/logs/php:/data/logs/apache"
    - "/tmp/container/php:/data/apache"