docker-compose.yml.sample 1.36 KB
Newer Older
Dave Lane's avatar
Dave Lane committed
1
version: "3"
2 3

services:
4
    redis:
5
        image: redis:4-alpine
6 7 8 9 10
        restart:
            unless-stopped
        networks:
            default:
                aliases:
11
<<<<<<< HEAD:docker-compose.yml
12
                    - redis.grav.troy
13
=======
14
                    - redis.grav.nzoss.nz
15
>>>>>>> 55ff8f1fcedb9b67997ba36bc88ccd2bdae35535:docker-compose.yml.sample
16 17
    app:
        image: kiwilightweight/grav
18 19
        links:
            - redis
20
        volumes:
21
            - /home/data/nzoss/grav:/var/www/html
22 23
        restart:
            unless-stopped
24 25 26
        networks:
            default:
                aliases:
27
<<<<<<< HEAD:docker-compose.yml
28
                    - grav.troy
29
=======
30
                    - grav.nzoss.nz
31
>>>>>>> 55ff8f1fcedb9b67997ba36bc88ccd2bdae35535:docker-compose.yml.sample
Dave Lane's avatar
Dave Lane committed
32 33 34 35
    nginx:
        image: oeru/nginx-jessie
        links:
            - app
36
            - redis
Dave Lane's avatar
Dave Lane committed
37
        ports:
38
            - "127.0.0.1:8081:80"
Dave Lane's avatar
Dave Lane committed
39 40 41
        volumes:
            - ./nginx:/etc/nginx/conf.d
            - ./nginx/cache:/var/cache/nginx
42
            - /home/data/nzoss/grav:/var/www/html
Dave Lane's avatar
Dave Lane committed
43
        restart: unless-stopped
44 45 46
        networks:
            default:
                aliases:
47
<<<<<<< HEAD:docker-compose.yml
48
                    - nginx.grav.troy
49
=======
50
                    - nginx.grav.nzoss.nz
51
>>>>>>> 55ff8f1fcedb9b67997ba36bc88ccd2bdae35535:docker-compose.yml.sample