Browse Source

Documentation

master
Eric van der Vlist 4 years ago
parent
commit
ce20d1e740
3 changed files with 13 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +11
    -0
      README.md
  3. +1
    -1
      docker-compose-postgres.yml

+ 1
- 0
.gitignore View File

@ -2,3 +2,4 @@
secrets/license.xml
mysql-connector-java*.jar
postgresql-*.jar
.idea/

+ 11
- 0
README.md View File

@ -45,7 +45,18 @@ $ cp postgres/tomcat/lib/
$ cp <my-licence-file> secrets/license.xml
$ docker-compose -f docker-compose-pe.yml -f docker-compose-postgres.yml up
```
## Timezones
Timezones can be tricky to configure using Docker (and docker-compose).
A common way to copy the host timezone in your containers is to share /etc/timezone as a volume:
```
volumes:
- "/etc/timezone:/etc/timezone:ro"
```
This requires, of course, that both your host and the containers relies on this configuration file.
## TODO

+ 1
- 1
docker-compose-postgres.yml View File

@ -19,7 +19,7 @@ services:
POSTGRES_DB: orbeon
POSTGRES_USER: orbeon
volumes:
- "/home/vdv/var/postgres/jouve:/var/lib/postgresql/data"
- "/volumes/orbeon/postgres:/var/lib/postgresql/data"
networks:
- net

Loading…
Cancel
Save