summaryrefslogtreecommitdiffstats
path: root/Services/apache/docker-compose.yml
blob: 205a439412268a198cae84f69225dfce28e6489f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
httpd:
  build: ./
#  image: sx-httpd
  container_name: "sx-httpd"
  mem_limit: 1g
  memswap_limit: 2g
  cpu_shares: 2
  restart: "on-failure:2"
  environment:
    CONTAINER_TYPE: "service"
    CONTAINER_SERVICE: "httpd"
    CONTAINER_INSTANCE: "sx-httpd"
    SERVER_NAME: "localhost"
    DOC_ROOT: "/data/httpd"
  volumes:
    - "/tmp/container/logs/httpd:/data/logs/httpd"
    - "/tmp/container/httpd:/data/httpd"