Skip to content

Commit 118649f

Browse files
author
Cyril
committed
Improve README, use specific tags for images
1 parent c4f7923 commit 118649f

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A simple, fully translatable admin interface and frontend for `sabre/dav` based
99

1010
# Requirements
1111

12-
PHP > 7.3.0, MySQL (or MariaDB).
12+
PHP > 7.3.0 (with `pdo_mysql` and `intl` extensions), MySQL (or MariaDB).
1313

1414
# Installation
1515

@@ -188,10 +188,12 @@ You can start the containers with :
188188

189189
docker exec -it davis bash -c "APP_ENV=prod bin/console migrate --no-interaction"
190190

191-
Then, head up to <YOUR_DOCKER_IP> to see the status display :
191+
Then, head up to `http://<YOUR_DOCKER_IP>` to see the status display :
192192

193193
![Status page](https://raw.githubusercontent.com/tchapi/davis/master/_screenshots/status.png)
194194

195+
> Note that there is no user, no principals, etc created by default.
196+
195197
# Development
196198

197199
You can spin off a local PHP webserver with:

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM php:7.3-fpm
22

3+
LABEL maintainer="tchap@tchap.me"
4+
35
# Mail : configuration for ssmtp
46
ARG email
57
ARG mail_host

docker/configurations/davis.conf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# This is a very simple / naive configuration for Davis
1+
# This is a very simple / naive configuration for nginx + Davis
2+
#
3+
# USE HTTPS IN PRODUCTION
4+
#
5+
26
upstream docker-davis {
37
server davis:9000;
48
}

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.7"
33
services:
44

55
nginx:
6-
image: nginx:alpine
6+
image: nginx:1.17.5-alpine
77
container_name: nginx
88
env_file: .env
99
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
@@ -18,7 +18,7 @@ services:
1818
- 80:80
1919

2020
mysql:
21-
image: mariadb:latest
21+
image: mariadb:10.4.10
2222
container_name: mysql
2323
env_file: .env
2424

0 commit comments

Comments
 (0)