diff --git a/affine/docker-compose.yml b/affine/docker-compose.yml new file mode 100644 index 0000000..1b46c5e --- /dev/null +++ b/affine/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' + +services: + affine: + image: ghcr.io/toeverything/affine:nightly-latest + restart: always + container_name: affine + networks: + - proxy + labels: + - "traefik.enable=true" + - "traefik.http.routers.affine-secure.entrypoints=https" + - "traefik.http.routers.affine-secure.rule=Host(`affine.mrdev023.fr`)" + - "traefik.http.routers.affine-secure.tls=true" + - "traefik.http.routers.affine-secure.tls.certresolver=sslResolver" + - "traefik.http.services.affine-secure.loadbalancer.server.port=3000" + - "traefik.docker.network=proxy" + +networks: + proxy: + external: true