docker-compose.yml 1.55 KB
Newer Older
Bertrand Gauthier's avatar
Bertrand Gauthier committed
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '2'

services:
  unicaen-php-compat-7.0:
    image: unicaen-php-compat-7.0
    build:
      dockerfile: Dockerfile
      args:
        PHP_VERSION: 7.0
      context: .
    container_name: unicaen-php-compat-7.0-container
    ports:
      - "8070:80"
      - "8470:443"
    volumes:
      - ${PWD}/composer.json:/app/composer.json
      - ${PWD}/.phan:/app/.phan
    working_dir: /app

  unicaen-php-compat-7.1:
    image: unicaen-php-compat-7.1
    build:
      dockerfile: Dockerfile
      args:
        PHP_VERSION: 7.1
      context: .
    container_name: unicaen-php-compat-7.1-container
    ports:
      - "8071:80"
      - "8471:443"
    volumes:
      - ${PWD}/composer.json:/app/composer.json
      - ${PWD}/.phan:/app/.phan
    working_dir: /app

  unicaen-php-compat-7.2:
    image: unicaen-php-compat-7.2
    build:
      dockerfile: Dockerfile
      args:
        PHP_VERSION: 7.2
      context: .
    container_name: unicaen-php-compat-7.2-container
    ports:
      - "8072:80"
      - "8472:443"
    volumes:
      - ${PWD}/../unicaen-skeleton-application:/app/unicaen-skeleton-application
      - ${PWD}/composer.json:/app/composer.json
      - ${PWD}/.phan:/app/.phan
    working_dir: /app

  unicaen-php-compat-7.3:
    image: unicaen-php-compat-7.3
    build:
      dockerfile: Dockerfile
      args:
        PHP_VERSION: 7.3
      context: .
    container_name: unicaen-php-compat-7.3-container
    ports:
      - "8073:80"
      - "8473:443"
    volumes:
      - ${PWD}/composer.json:/app/composer.json
      - ${PWD}/.phan:/app/.phan
    working_dir: /app