Documentation
This commit is contained in:
parent
ce6bcaadc3
commit
ce20d1e740
|
@ -2,3 +2,4 @@
|
||||||
secrets/license.xml
|
secrets/license.xml
|
||||||
mysql-connector-java*.jar
|
mysql-connector-java*.jar
|
||||||
postgresql-*.jar
|
postgresql-*.jar
|
||||||
|
.idea/
|
||||||
|
|
11
README.md
11
README.md
|
@ -45,7 +45,18 @@ $ cp <postgres-jdbc-driver> postgres/tomcat/lib/
|
||||||
$ cp <my-licence-file> secrets/license.xml
|
$ cp <my-licence-file> secrets/license.xml
|
||||||
$ docker-compose -f docker-compose-pe.yml -f docker-compose-postgres.yml up
|
$ 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
|
## TODO
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ services:
|
||||||
POSTGRES_DB: orbeon
|
POSTGRES_DB: orbeon
|
||||||
POSTGRES_USER: orbeon
|
POSTGRES_USER: orbeon
|
||||||
volumes:
|
volumes:
|
||||||
- "/home/vdv/var/postgres/jouve:/var/lib/postgresql/data"
|
- "/volumes/orbeon/postgres:/var/lib/postgresql/data"
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue