Compare commits
2 Commits
2e35718ae1
...
f6db07fb97
Author | SHA1 | Date | |
---|---|---|---|
f6db07fb97 | |||
9481001b05 |
@ -58,7 +58,7 @@ RUN python3 -m venv /app/venv
|
|||||||
ENV PATH="/app/venv/bin:$PATH"
|
ENV PATH="/app/venv/bin:$PATH"
|
||||||
|
|
||||||
# Install torrentfile & other python deps
|
# Install torrentfile & other python deps
|
||||||
RUN ./venv/bin/pip install -r requirements.txt
|
RUN ./venv/bin/pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Expose the port
|
# Expose the port
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
@ -28,6 +28,10 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
|
logging:
|
||||||
|
driver: fluentd
|
||||||
|
options:
|
||||||
|
fluentd-address: "localhost:24224"
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image: gitea.futureporn.net/futureporn/our:latest
|
image: gitea.futureporn.net/futureporn/our:latest
|
||||||
@ -43,6 +47,10 @@ services:
|
|||||||
sh -c "npx prisma migrate deploy && npm run start:server"
|
sh -c "npx prisma migrate deploy && npm run start:server"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/vfs/futureporn:/mnt/vfs/futureporn
|
- /mnt/vfs/futureporn:/mnt/vfs/futureporn
|
||||||
|
logging:
|
||||||
|
driver: fluentd
|
||||||
|
options:
|
||||||
|
fluentd-address: "localhost:24224"
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
image: gitea.futureporn.net/futureporn/our:latest
|
image: gitea.futureporn.net/futureporn/our:latest
|
||||||
@ -58,7 +66,10 @@ services:
|
|||||||
sh -c "npm run start:worker"
|
sh -c "npm run start:worker"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/vfs/futureporn:/mnt/vfs/futureporn
|
- /mnt/vfs/futureporn:/mnt/vfs/futureporn
|
||||||
|
logging:
|
||||||
|
driver: fluentd
|
||||||
|
options:
|
||||||
|
fluentd-address: "localhost:24224"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
pgdata:
|
pgdata:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "futureporn",
|
"name": "futureporn",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.4.4",
|
"version": "2.4.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "concurrently npm:dev:serve npm:dev:build npm:dev:worker npm:dev:compose npm:dev:sftp",
|
"dev": "concurrently npm:dev:serve npm:dev:build npm:dev:worker npm:dev:compose npm:dev:sftp",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user