summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose.yml
blob: 69a9393ed3ce9f4bb5c96352f2c6eec0ecb1aedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '2'
services:
  # Primary Tower Development Container
  tower:
    build: ./docker-compose
    ports:
      - "8080:8080"
      - "8013:8013"
    links:
      - postgres
      - redis
    #   - sync
    # volumes_from:
    #   - sync
    volumes:
      - "../:/tower_devel"

  # Postgres Database Container
  postgres:
    image: postgres:9.4.1

  # Redis Container
  redis:
    image: redis:3.0.1

  # Source Code Synchronization Container
  # sync:
  #     build:
  #         context: ./docker-compose
  #         dockerfile: Dockerfile-sync
  #     command: "lsyncd -delay 1 -nodaemon -rsync /src /tower_devel"
  #     volumes:
  #         - /tower_devel
  #         - "../:/src"
  #     working_dir: /src
  #     stdin_open: true
  #     tty: true