2023-12-25 03:14:14 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
app:
|
2023-12-25 04:09:34 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/web3.news:latest
|
2023-12-25 03:14:14 +00:00
|
|
|
volumes:
|
|
|
|
- ./data/app.db:/app/prisma/dev.db
|
|
|
|
bridge:
|
2023-12-25 04:09:34 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/web3.news:latest
|
2023-12-25 03:14:14 +00:00
|
|
|
command: ["npm", "run", "bridge"]
|
|
|
|
volumes:
|
|
|
|
- ./data/app.db:/app/prisma/dev.db
|
2023-12-25 03:26:04 +00:00
|
|
|
melli:
|
|
|
|
image: getmeili/meilisearch:v1.5
|
|
|
|
volumes:
|
|
|
|
- ./melli_data:/meili_data
|
2023-12-25 07:32:53 +00:00
|
|
|
caddy:
|
|
|
|
image: caddy
|
|
|
|
command: caddy
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
- "443:443/udp"
|
|
|
|
volumes:
|
|
|
|
- ./caddy/data/:/data
|
|
|
|
- ./caddy/config/Caddyfile:/etc/caddy/Caddyfile
|
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
2023-12-25 03:45:49 +00:00
|
|
|
melli_init:
|
2023-12-25 04:09:34 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/web3.news:latest
|
2023-12-25 03:45:49 +00:00
|
|
|
command: ["npm", "run", "melli-init"]
|
|
|
|
volumes:
|
|
|
|
- ./data/app.db:/app/prisma/dev.db
|
2023-12-25 04:09:12 +00:00
|
|
|
profiles: ["disabled"]
|
2023-12-25 07:19:34 +00:00
|
|
|
depends_on:
|
|
|
|
- melli
|
2023-12-25 04:09:12 +00:00
|
|
|
db_init:
|
2023-12-25 04:09:34 +00:00
|
|
|
image: git.lumeweb.com/lumeweb/web3.news:latest
|
2023-12-25 04:09:12 +00:00
|
|
|
command: ["npm", "run", "db-init"]
|
|
|
|
volumes:
|
|
|
|
- ./data/app.db:/app/prisma/dev.db
|
|
|
|
profiles: ["disabled"]
|