web3.news/docker-compose.yml

44 lines
1.2 KiB
YAML
Raw Normal View History

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: iarekylew00t/caddy-cloudflare
2023-12-25 07:40:59 +00:00
command: caddy run
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
melli_init:
2023-12-25 04:09:34 +00:00
image: git.lumeweb.com/lumeweb/web3.news:latest
command: ["npm", "run", "melli-init"]
volumes:
- ./data/app.db:/app/prisma/dev.db
2023-12-25 04:09:12 +00:00
profiles: ["disabled"]
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"]