aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker-compose.yml
blob: bc46941958e5e7995f7ac7ec0b4774f21d25d22b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
nginx:
    image: nginx
    ports:
        - "8080:80"
    volumes:
        - ./docker/nginx/nginx.conf:/nginx.conf
        - ./docker/logs/nginx:/var/log/nginx
        - .:/var/www/html
    links:
        - php:php
    command: nginx -c /nginx.conf
php:
    build: docker/php
    ports:
        - "9000:9000"
    volumes:
        - .:/var/www/html