]> git.immae.eu Git - github/wallabag/wallabag.git/blob - docker-compose.yml
Add Docker configuration for Postgres and MariaDB
[github/wallabag/wallabag.git] / docker-compose.yml
1 nginx:
2 image: nginx
3 ports:
4 - "8080:80"
5 volumes:
6 - ./docker/nginx/nginx.conf:/nginx.conf
7 - ./docker/logs/nginx:/var/log/nginx
8 - .:/var/www/html
9 links:
10 - php:php
11 command: nginx -c /nginx.conf
12 php:
13 build: docker/php
14 ports:
15 - "9000:9000"
16 volumes:
17 - .:/var/www/html
18 #links:
19 # - "postgres:rdbms"
20 # - "mariadb:rdbms"
21 env_file:
22 - ./docker/php/env
23 # Comment non-used DBMS lines
24 # If all DBMS are commented out, sqlite will be used as default
25 # - ./docker/postgres/env
26 # - ./docker/mariadb/env
27 #postgres:
28 # image: postgres:9
29 # ports:
30 # - "5432:5432"
31 # volumes:
32 # - ./docker/data/pgsql:/var/lib/postgresql/data
33 # env_file:
34 # - ./docker/postgres/env
35 #mariadb:
36 # image: mariadb:10
37 # ports:
38 # - "3306:3306"
39 # volumes:
40 # - ./docker/data/mariadb:/var/lib/mysql
41 # env_file:
42 # - ./docker/mariadb/env