mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
fixes
This commit is contained in:
parent
7f07d68864
commit
afa5d79fc2
3 changed files with 18 additions and 2 deletions
1
apps/openolat/extra-properties.properties
Normal file
1
apps/openolat/extra-properties.properties
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
enforce.utf8.filesystem=false
|
||||||
|
|
@ -11,6 +11,16 @@
|
||||||
path: /apps/openolat
|
path: /apps/openolat
|
||||||
state: directory
|
state: directory
|
||||||
mode: "u=rwx,g=rx,o=rx"
|
mode: "u=rwx,g=rx,o=rx"
|
||||||
|
- name: Copy extra properties
|
||||||
|
ansible.builtin.copy:
|
||||||
|
dest: /apps/openolat/extra-properties.properties
|
||||||
|
src: ../apps/openolat/extra-properties.properties
|
||||||
|
mode: "u=r,g=r,o=r"
|
||||||
|
- name: Olat data file permissions # TODO: a bit hacky.
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /apps/openolat/olatdata
|
||||||
|
state: directory
|
||||||
|
mode: "u=rwx,g=rwx,o=rwx"
|
||||||
#####
|
#####
|
||||||
# END: docker compose up!
|
# END: docker compose up!
|
||||||
#####
|
#####
|
||||||
|
|
|
||||||
|
|
@ -26,12 +26,17 @@ services:
|
||||||
- openolat-network
|
- openolat-network
|
||||||
openolat:
|
openolat:
|
||||||
container_name: openolat
|
container_name: openolat
|
||||||
image: "docker.nilstrieb.dev/openolat:aaaaaaaa"
|
image: "docker.nilstrieb.dev/openolat:d8b5cd90"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/apps/openolat/olatdata:/home/openolat/olatdata"
|
||||||
|
- "/apps/openolat/extra-properties.properties:/home/openolat/extra-properties.properties"
|
||||||
ports:
|
ports:
|
||||||
- "5011:8088"
|
- "5011:8088"
|
||||||
environment:
|
environment:
|
||||||
DB_PASSWORD: "${OPENOLAT_DB_PASSWORD}"
|
DB_PASSWORD: "${OPENOLAT_DB_PASSWORD}"
|
||||||
DB_URL: "jdbc:postgresql://openolatdb:5432/oodb"
|
DB_URL: "jdbc:postgresql://openolat-db:5432/oodb"
|
||||||
|
EXTRA_PROPERTIES: "/home/openolat/extra-properties.properties"
|
||||||
networks:
|
networks:
|
||||||
- openolat-network
|
- openolat-network
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue