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