This repository has been archived on 2022-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-14 19:11:10 +02:00
|
|
|
version: "2"
|
|
|
|
|
|
|
|
services:
|
|
|
|
traefik:
|
|
|
|
image: "traefik:v2.2"
|
|
|
|
ports:
|
|
|
|
- "443:443"
|
|
|
|
volumes:
|
|
|
|
- "./traefik.yaml:/etc/traefik/traefik.yaml:ro"
|
|
|
|
- "./letsencrypt:/letsencrypt"
|
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
2020-04-19 21:32:42 +02:00
|
|
|
restart: unless-stopped
|
2020-04-14 19:11:10 +02:00
|
|
|
|
|
|
|
rainloop:
|
2020-04-16 21:32:39 +02:00
|
|
|
image: hiloyt/rainloop
|
2020-04-14 19:11:10 +02:00
|
|
|
container_name: rainloop
|
|
|
|
volumes:
|
|
|
|
- ./data:/rainloop/data
|
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.rainloop.rule=Host(`${APP_DOMAIN}`)"
|
|
|
|
- "traefik.http.routers.rainloop.entrypoints=websecure"
|
|
|
|
- "traefik.http.routers.rainloop.tls.certresolver=myresolver"
|
2020-07-22 19:15:43 +02:00
|
|
|
- "traefik.http.routers.rainloop.middlewares=default-headers@file"
|
2020-04-14 19:11:10 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
links:
|
|
|
|
- db:db
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2020-07-22 19:20:31 +02:00
|
|
|
- ./db:/var/lib/mysql
|
2020-04-14 19:11:10 +02:00
|
|
|
environment:
|
2020-04-14 21:16:39 +02:00
|
|
|
- MYSQL_ROOT_PASSWORD
|
|
|
|
- MYSQL_PASSWORD
|
|
|
|
- MYSQL_DATABASE
|
|
|
|
- MYSQL_USER
|