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