diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-11 09:08:39 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-01-11 09:08:39 +0100 |
commit | 0aafb8dfcb098ae586dc87f3487b4948f8ae2314 (patch) | |
tree | 601e1f208bd5e7bf38369241ec0beb1eb820a8f3 /docker-compose.yml | |
parent | 4aa29971062dd41df89939b8e6c20e3ed2ed7183 (diff) | |
parent | 8b909e7ea7773807fdcae6e1cc08b2e62084bfd9 (diff) | |
download | wallabag-0aafb8dfcb098ae586dc87f3487b4948f8ae2314.tar.gz wallabag-0aafb8dfcb098ae586dc87f3487b4948f8ae2314.tar.zst wallabag-0aafb8dfcb098ae586dc87f3487b4948f8ae2314.zip |
Merge pull request #1561 from FabienM/docker-compose
Add basic docker-compose configuration
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..c774b621 --- /dev/null +++ b/docker-compose.yml | |||
@@ -0,0 +1,42 @@ | |||
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 | ||