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:
|
2023-12-25 08:57:31 +00:00
|
|
|
image: iarekylew00t/caddy-cloudflare
|
2023-12-25 07:40:59 +00:00
|
|
|
command: caddy run
|
2023-12-25 08:57:31 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2023-12-25 07:32:53 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
- "443:443"
|
|
|
|
- "443:443/udp"
|
|
|
|
volumes:
|
|
|
|
- ./caddy/data/:/data
|
2023-12-25 09:00:56 +00:00
|
|
|
- ./caddy/config/Caddyfile:/etc/caddy/Caddyfile
|
2023-12-25 07:32:53 +00:00
|
|
|
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"]
|