aboutsummaryrefslogtreecommitdiff
path: root/compose.yml
blob: 4b2ddd40f38a9d2f4cc57e1f15b6cb0bcad22c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
  llostre:
    image: llostre
    restart: unless-stopped
    ports:
      - "8080:8080"
    env_file: .env
    depends_on:
      redis:
        condition: service_healthy
      porxie:
        condition: service_started

  redis:
    image: redis:7-alpine
    restart: unless-stopped
    command: >
      redis-server
      ${REDIS_PASSWORD:+--requirepass ${REDIS_PASSWORD}}
    ports:
      - "6379:6379"
    #volumes:
    #  - redis_data:/data
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
      interval: 5s
      timeout: 3s
      retries: 10
      start_period: 10s

  porxie:
    image: blooym/porxie:latest
    restart: unless-stopped
    environment:
      PORXIE_SERVER_ADDRESS: "ip:0.0.0.0:6314"
      PORXIE_BLOB_ALLOWED_MIMETYPES: "image/*,video/*"
    ports:
      - "6314:6314"

#volumes:
#  redis_data: