Removing memory limits works, unfortunately

This commit is contained in:
Nemo 2017-11-27 11:59:24 +05:30
parent 002ab60622
commit e20b5c5a44
3 changed files with 10 additions and 12 deletions

View File

@ -32,6 +32,8 @@ defaultEntryPoints = ["http", "https"]
[frontends.ebooks]
backend = "ebooks"
passHostHeader = true
[frontends.ebooks.headers.customrequestheaders]
X-Forwarded-Proto = "https"
[frontends.ebooks.routes.domain]
rule = "Host:ebooks.in.bb8.fun,ebooks.bb8.fun"
@ -53,7 +55,7 @@ dnsProvider = "cloudflare"
onHostRule = false
onDemand = false
# Waiting till december to get wildcard SSL on LE
# Waiting till Jan '18 to get wildcard SSL on LE
[[acme.domains]]
main = "in.bb8.fun"
sans = ["emby.in.bb8.fun", "airsonic.in.bb8.fun", "muximux.in.bb8.fun", "home.in.bb8.fun"]

View File

@ -16,7 +16,7 @@ title: Nemo's Wiki
# ---------------------------------------------------------------------
# INCLUDE CLIENT PORT IF NOT 80/443!
host: http://wiki.in.bb8.fun:8888
host: https://wiki.bb8.fun
# ---------------------------------------------------------------------
# Port the main server should listen to (80 by default)

View File

@ -301,7 +301,6 @@ resource "docker_container" "airsonic" {
destroy_grace_seconds = 30
must_run = true
user = "1004"
memory = 512
volumes {
host_path = "/mnt/xwing/config/airsonic/data"
@ -338,7 +337,6 @@ resource "docker_container" "sickrage" {
restart = "unless-stopped"
destroy_grace_seconds = 10
must_run = true
memory = 256
volumes {
host_path = "/mnt/xwing/config/sickrage"
@ -411,10 +409,8 @@ resource "docker_container" "wiki" {
name = "wiki"
image = "${docker_image.wikijs.latest}"
# This is the wiki user account
user = "1006"
restart = "unless-stopped"
destroy_grace_seconds = 10
destroy_grace_seconds = 30
must_run = true
upload {
@ -422,11 +418,6 @@ resource "docker_container" "wiki" {
file = "/var/wiki/config.yml"
}
volumes {
host_path = "/mnt/xwing/data/wiki/data"
container_path = "/data"
}
volumes {
host_path = "/mnt/xwing/logs/wiki"
container_path = "/logs"
@ -437,6 +428,11 @@ resource "docker_container" "wiki" {
container_path = "/repo"
}
volumes {
host_path = "/mnt/xwing/data/wiki/data"
container_path = "/data"
}
labels {
"traefik.port" = 9999
"traefik.enable" = "true"