mirror of
https://github.com/diced/zipline.git
synced 2025-05-11 10:26:05 +02:00
fix(repo): update devcontainer defaults to use bundled postgres (#585)
Co-authored-by: Jayvin Hernandez <gogojayvin923@gmail.com> Co-authored-by: dicedtomato <35403473+diced@users.noreply.github.com>
This commit is contained in:
parent
effe1f9ec1
commit
6271b800c2
3 changed files with 6 additions and 4 deletions
|
@ -7,4 +7,6 @@ RUN usermod -l zipline node \
|
||||||
&& chmod 0440 /etc/sudoers.d/zipline \
|
&& chmod 0440 /etc/sudoers.d/zipline \
|
||||||
&& sudo apt-get update && apt-get install gnupg2 -y
|
&& sudo apt-get update && apt-get install gnupg2 -y
|
||||||
|
|
||||||
USER zipline
|
EXPOSE 3000
|
||||||
|
|
||||||
|
USER zipline
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
"remoteUser": "zipline",
|
"remoteUser": "zipline",
|
||||||
"updateRemoteUserUID": true,
|
"updateRemoteUserUID": true,
|
||||||
"remoteEnv": {
|
"remoteEnv": {
|
||||||
"CORE_DATABASE_URL": "postgres://postgres:postgres@localhost/zip10"
|
"CORE_DATABASE_URL": "postgres://postgres:postgres@db/zip10"
|
||||||
},
|
},
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
"3000": {
|
"3000": {
|
||||||
|
|
|
@ -7,7 +7,7 @@ CORE_RETURN_HTTPS=true
|
||||||
CORE_SECRET="changethis"
|
CORE_SECRET="changethis"
|
||||||
CORE_HOST=0.0.0.0
|
CORE_HOST=0.0.0.0
|
||||||
CORE_PORT=3000
|
CORE_PORT=3000
|
||||||
CORE_DATABASE_URL="postgres://postgres:postgres@localhost/zip10"
|
CORE_DATABASE_URL="postgres://postgres:postgres@db/zip10"
|
||||||
CORE_LOGGER=false
|
CORE_LOGGER=false
|
||||||
CORE_STATS_INTERVAL=1800
|
CORE_STATS_INTERVAL=1800
|
||||||
CORE_INVITES_INTERVAL=1800
|
CORE_INVITES_INTERVAL=1800
|
||||||
|
@ -47,4 +47,4 @@ URLS_LENGTH=6
|
||||||
RATELIMIT_USER=5
|
RATELIMIT_USER=5
|
||||||
RATELIMIT_ADMIN=3
|
RATELIMIT_ADMIN=3
|
||||||
|
|
||||||
# for more variables checkout the docs
|
# for more variables checkout the docs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue