2022-05-13 20:06:49 -07:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
send:
|
|
|
|
image: registry.gitlab.com/timvisee/send:latest
|
|
|
|
container_name: send_send
|
2022-07-13 13:35:56 -07:00
|
|
|
logging:
|
|
|
|
driver: loki
|
|
|
|
options:
|
|
|
|
loki-url: http://localhost:3100/loki/api/v1/push
|
|
|
|
loki-batch-size: "50"
|
|
|
|
loki-retries: "1"
|
|
|
|
loki-timeout: "2s"
|
2022-07-14 15:22:44 -07:00
|
|
|
keep-file: "true"
|
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
|
|
|
|
volumes:
|
|
|
|
- ${DOCKER_DATA}/uploads:/uploads
|
2022-11-01 00:34:51 -07:00
|
|
|
env_file:
|
|
|
|
- send.env
|
2022-05-13 20:06:49 -07:00
|
|
|
labels:
|
|
|
|
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
|
|
|
|
- traefik.http.routers.send.tls.certresolver=lets-encrypt
|
2022-05-13 20:12:23 -07:00
|
|
|
- traefik.http.services.send.loadbalancer.server.port=1234
|
2022-07-15 10:56:20 -07:00
|
|
|
#- traefik.http.routers.send.middlewares=
|
2022-05-13 20:12:23 -07:00
|
|
|
|
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:06:49 -07:00
|
|
|
volumes:
|
|
|
|
- send-redis:/data
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
send-redis:
|
2022-05-13 20:07:28 -07:00
|
|
|
|
|
|
|
networks:
|
|
|
|
web:
|
2022-05-13 20:28:49 -07:00
|
|
|
external: true
|
|
|
|
send:
|