2022-05-13 20:06:49 -07:00
|
|
|
services:
|
|
|
|
send:
|
2024-07-22 10:26:29 -07:00
|
|
|
image: registry.gitlab.com/timvisee/send:latest
|
2024-02-15 01:05:32 -08:00
|
|
|
user: 1001:1001
|
2022-05-13 20:06:49 -07:00
|
|
|
container_name: send_send
|
2022-07-13 10:47:27 -07:00
|
|
|
restart: "no"
|
2022-05-13 20:06:49 -07:00
|
|
|
networks:
|
2022-05-13 20:28:49 -07:00
|
|
|
- send
|
2022-05-13 20:06:49 -07:00
|
|
|
- web
|
2024-08-28 12:14:19 -07:00
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: 0.0.0.0
|
|
|
|
VIRTUAL_PORT: 1234
|
|
|
|
DHPARAM_GENERATION: false
|
|
|
|
NODE_ENV: production
|
|
|
|
BASE_URL: https://send.jafner.net
|
|
|
|
PORT: 1234
|
|
|
|
REDIS_HOST: redis
|
|
|
|
FILE_DIR: /uploads
|
|
|
|
MAX_FILE_SIZE: 42949672960 # 40 GiB
|
2024-02-15 01:05:32 -08:00
|
|
|
volumes:
|
|
|
|
- ${DOCKER_DATA}/uploads:/uploads
|
2022-05-13 20:06:49 -07:00
|
|
|
labels:
|
|
|
|
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
|
2024-08-14 14:10:49 -07:00
|
|
|
- traefik.http.routers.send.tls.certresolver=lets-encrypt-dns01
|
2022-11-14 14:18:44 -08:00
|
|
|
- traefik.http.routers.send.tls.options=tls12@file
|
|
|
|
- traefik.http.routers.send.middlewares=securityheaders@file
|
2022-05-13 20:12:23 -07:00
|
|
|
- traefik.http.services.send.loadbalancer.server.port=1234
|
|
|
|
|
2022-05-13 20:06:49 -07:00
|
|
|
redis:
|
|
|
|
image: 'redis:alpine'
|
2022-05-13 20:12:55 -07:00
|
|
|
container_name: send_redis
|
2022-05-13 20:28:49 -07:00
|
|
|
networks:
|
|
|
|
- send
|
2022-07-13 10:47:27 -07:00
|
|
|
restart: "no"
|
2022-05-13 20:07:28 -07:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
2022-05-13 20:28:49 -07:00
|
|
|
external: true
|
2024-02-15 01:05:32 -08:00
|
|
|
send:
|