mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Set the TIME_ZONE to seahub.
This commit is contained in:
parent
f64a44dc2c
commit
d7fe9a13b8
|
@ -4,12 +4,12 @@ base_image=seafileltd/base-mc:18.04
|
||||||
base_image_squashed=seafileltd/base-mc:18.04-squashed
|
base_image_squashed=seafileltd/base-mc:18.04-squashed
|
||||||
pro_base_image=seafileltd/pro-base-mc:18.04
|
pro_base_image=seafileltd/pro-base-mc:18.04
|
||||||
pro_base_image_squashed=seafileltd/pro-base-mc:18.04-squashed
|
pro_base_image_squashed=seafileltd/pro-base-mc:18.04-squashed
|
||||||
server_image=seafileltd/seafile-mc:$(server_version)
|
server_image=seafileltd/seafile:$(server_version)
|
||||||
server_image_squashed=seafileltd/seafile-mc:$(server_version)-squashed
|
server_image_squashed=seafileltd/seafile:$(server_version)-squashed
|
||||||
pro_server_image=seafileltd/seafile-pro-mc:$(server_version)
|
pro_server_image=seafileltd/seafile-pro:$(server_version)
|
||||||
pro_server_image_squashed=seafileltd/seafile-pro-mc:$(server_version)-squashed
|
pro_server_image_squashed=seafileltd/seafile-pro:$(server_version)-squashed
|
||||||
latest_pro_server_image=seafileltd/seafile-pro-mc:latest
|
latest_pro_server_image=seafileltd/seafile-pro:latest
|
||||||
latest_server_image=seafileltd/seafile-mc:latest
|
latest_server_image=seafileltd/seafile:latest
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo
|
@echo
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM seafileltd/base:18.04
|
FROM seafileltd/base-mc:18.04
|
||||||
|
|
||||||
# syslog-ng and syslog-forwarder would mess up the container stdout, not good
|
# syslog-ng and syslog-forwarder would mess up the container stdout, not good
|
||||||
# when debugging/upgrading.
|
# when debugging/upgrading.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM seafileltd/pro-base:18.04
|
FROM seafileltd/pro-base-mc:18.04
|
||||||
WORKDIR /opt/seafile
|
WORKDIR /opt/seafile
|
||||||
|
|
||||||
ENV SEAFILE_VERSION=6.3.11 SEAFILE_SERVER=seafile-pro-server
|
ENV SEAFILE_VERSION=6.3.11 SEAFILE_SERVER=seafile-pro-server
|
||||||
|
|
|
@ -153,6 +153,8 @@ def init_seafile_server():
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
COMPRESS_CACHE_BACKEND = 'locmem'""")
|
COMPRESS_CACHE_BACKEND = 'locmem'""")
|
||||||
|
fp.write('\n')
|
||||||
|
fp.write("TIME_ZONE = '{time_zone}'".format(time_zone=os.getenv('TIME_ZONE')))
|
||||||
fp.write('\n')
|
fp.write('\n')
|
||||||
fp.write('FILE_SERVER_ROOT = "{proto}://{domain}/seafhttp"'.format(proto=proto, domain=domain))
|
fp.write('FILE_SERVER_ROOT = "{proto}://{domain}/seafhttp"'.format(proto=proto, domain=domain))
|
||||||
fp.write('\n')
|
fp.write('\n')
|
||||||
|
|
Loading…
Reference in a new issue