refactor: switch to published image

This commit is contained in:
Derrick Hammer 2023-12-24 23:09:34 -05:00
parent 5cf0e15e2d
commit 72e277833e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
version: '3.8' version: '3.8'
services: services:
app: app:
build: . image: git.lumeweb.com/lumeweb/web3.news:latest
ports: ports:
- "3000:3000" - "3000:3000"
volumes: volumes:
- ./data/app.db:/app/prisma/dev.db - ./data/app.db:/app/prisma/dev.db
bridge: bridge:
build: . image: git.lumeweb.com/lumeweb/web3.news:latest
command: ["npm", "run", "bridge"] command: ["npm", "run", "bridge"]
volumes: volumes:
- ./data/app.db:/app/prisma/dev.db - ./data/app.db:/app/prisma/dev.db
@ -16,13 +16,13 @@ services:
volumes: volumes:
- ./melli_data:/meili_data - ./melli_data:/meili_data
melli_init: melli_init:
build: . image: git.lumeweb.com/lumeweb/web3.news:latest
command: ["npm", "run", "melli-init"] command: ["npm", "run", "melli-init"]
volumes: volumes:
- ./data/app.db:/app/prisma/dev.db - ./data/app.db:/app/prisma/dev.db
profiles: ["disabled"] profiles: ["disabled"]
db_init: db_init:
build: . image: git.lumeweb.com/lumeweb/web3.news:latest
command: ["npm", "run", "db-init"] command: ["npm", "run", "db-init"]
volumes: volumes:
- ./data/app.db:/app/prisma/dev.db - ./data/app.db:/app/prisma/dev.db