diff --git a/pica-etherpad/docker-compose.yml b/pica-etherpad/docker-compose.yml index 8da398c0053e9cc7472300cb832a49eaf6fa5bd2..41189db93490db6b9829fc16326b9006e9ad6a8f 100755 --- a/pica-etherpad/docker-compose.yml +++ b/pica-etherpad/docker-compose.yml @@ -31,7 +31,7 @@ networks: week_app-db: name: etherpad_week_app-queries-database #dpad-app: used by the dpad script to query the app via its web API - standard_dpad-app: + standard_dpad-app: name: etherpad_standard_dpad-queries-app week_dpad-app: name: etherpad_week-dpad-queries-app @@ -67,8 +67,7 @@ services: container_name: etherpad_standard_app env_file: ./secrets/etherpad-app.secrets volumes: - - ./settings.json:/opt/etherpad-lite/settings.json - - standard_deleted-pads:/opt/etherpad-lite/deleted_pads + - ./settings.json:/opt/etherpad-lite/settings.json:ro - standard_api-key:/mountedAPIkey command: ["--apikey", "/mountedAPIkey/APIKEY.txt"] labels: @@ -98,8 +97,7 @@ services: build: . env_file: ./secrets/etherpad-week-app.secrets volumes: - - ./settings_week.json:/opt/etherpad-lite/settings.json - - week_deleted-pads:/opt/etherpad-lite/deleted_pads + - ./settings_week.json:/opt/etherpad-lite/settings.json:ro - week_api-key:/mountedAPIkey command: ["--apikey", "/mountedAPIkey/APIKEY.txt"] labels: @@ -124,20 +122,12 @@ services: restart: unless-stopped - - - # script COMPLEMENTARY to etherpad plugin ep_delete_after_delay standard_delete-pad-after-delay: build: context: https://gitlab.utc.fr/picasoft/projets/delete-pad-after-delay.git volumes: - - type: volume - source: standard_api-key - target: /mountedAPIkey - read_only: true - volume: - nocopy: true + - standard_api-key:/mountedAPIkey:ro - standard_deleted-pads:/opt/etherpad-lite/deleted_pads networks: - standard_dpad-app @@ -156,12 +146,7 @@ services: build: context: https://gitlab.utc.fr/picasoft/projets/delete-pad-after-delay.git volumes: - - type: volume - source: week_api-key - target: /mountedAPIkey - read_only: true - volume: - nocopy: true + - week_api-key:/mountedAPIkey:ro - week_deleted-pads:/opt/etherpad-lite/deleted_pads networks: - week_dpad-app