diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..bac9f86 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +# Runs on Tower next to Moodle. App reaches Moodle via its public URL +# (Moodle enforces wwwroot); content cached in-process (SWR). +services: + formations-app: + image: formations-app:latest + build: . + container_name: formations-app + restart: unless-stopped + ports: + - '8096:4321' + env_file: + - /home/clems/formations-app.env + environment: + MOODLE_BASE_URL: 'https://moodle.saillant.cc'