|
| 1 | +version: '3' |
| 2 | + |
| 3 | +services: |
| 4 | + search: |
| 5 | + image: getmeili/meilisearch:v1.11.3 |
| 6 | + environment: |
| 7 | + MEILI_URL: http://search:7700 |
| 8 | + MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:?} |
| 9 | + MEILI_NO_ANALYTICS: "true" |
| 10 | + volumes: |
| 11 | + - meili_data:/meili_data |
| 12 | + restart: unless-stopped |
| 13 | + healthcheck: |
| 14 | + test: curl --fail http://localhost:7700/health || exit 1 |
| 15 | + interval: 15s |
| 16 | + retries: 10 |
| 17 | + start_period: 20s |
| 18 | + timeout: 10s |
| 19 | + db: |
| 20 | + image: ghcr.io/open-wanderer/wanderer-db:dev |
| 21 | + depends_on: |
| 22 | + search: |
| 23 | + condition: service_healthy |
| 24 | + environment: |
| 25 | + MEILI_URL: http://search:7700 |
| 26 | + MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:?} |
| 27 | + POCKETBASE_ENCRYPTION_KEY: ${POCKETBASE_ENCRYPTION_KEY:?} |
| 28 | + ORIGIN: ${ORIGIN:?} |
| 29 | + restart: unless-stopped |
| 30 | + volumes: |
| 31 | + - pb_data:/pb_data |
| 32 | + healthcheck: |
| 33 | + test: ["CMD", "/curl", "--fail", "http://localhost:8090/health"] |
| 34 | + interval: 15s |
| 35 | + retries: 10 |
| 36 | + start_period: 20s |
| 37 | + timeout: 10s |
| 38 | + web: |
| 39 | + image: ghcr.io/open-wanderer/wanderer-web:dev |
| 40 | + depends_on: |
| 41 | + search: |
| 42 | + condition: service_healthy |
| 43 | + db: |
| 44 | + condition: service_healthy |
| 45 | + environment: |
| 46 | + MEILI_URL: http://search:7700 |
| 47 | + MEILI_MASTER_KEY: ${MEILI_MASTER_KEY:?} |
| 48 | + ORIGIN: ${ORIGIN:?} |
| 49 | + BODY_SIZE_LIMIT: Infinity |
| 50 | + PUBLIC_POCKETBASE_URL: http://db:8090 |
| 51 | + PUBLIC_DISABLE_SIGNUP: "false" |
| 52 | + UPLOAD_FOLDER: /app/uploads |
| 53 | + UPLOAD_USER: |
| 54 | + UPLOAD_PASSWORD: |
| 55 | + PUBLIC_OVERPASS_API_URL: https://overpass-api.de |
| 56 | + PUBLIC_VALHALLA_URL: https://valhalla1.openstreetmap.de |
| 57 | + PUBLIC_NOMINATIM_URL: https://nominatim.openstreetmap.org |
| 58 | + volumes: |
| 59 | + - uploads:/app/uploads |
| 60 | + # - ./data/about.md:/app/build/client/md/about.md |
| 61 | + expose: |
| 62 | + - "3000" |
| 63 | + restart: unless-stopped |
| 64 | + healthcheck: |
| 65 | + test: ["CMD", "/curl", "--fail", "http://localhost:3000/"] |
| 66 | + interval: 15s |
| 67 | + retries: 10 |
| 68 | + start_period: 20s |
| 69 | + timeout: 10s |
| 70 | + |
| 71 | +volumes: |
| 72 | + meili_data: |
| 73 | + pb_data: |
| 74 | + uploads: |
0 commit comments