feat: set up port forwarding
This commit is contained in:
parent
9d81ab38dd
commit
d93a9b57e9
2 changed files with 3 additions and 3 deletions
|
@ -21,6 +21,9 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"forwardPorts": [
|
||||||
|
"zipline:3000"
|
||||||
|
],
|
||||||
"containerEnv": {
|
"containerEnv": {
|
||||||
"DISPLAY": "dummy",
|
"DISPLAY": "dummy",
|
||||||
"PYTHONUNBUFFERED": "True",
|
"PYTHONUNBUFFERED": "True",
|
||||||
|
|
|
@ -30,13 +30,10 @@ services:
|
||||||
image: ghcr.io/diced/zipline:v4
|
image: ghcr.io/diced/zipline:v4
|
||||||
environment:
|
environment:
|
||||||
CORE_SECRET: "4Q8PrvM8Vwe9yRSRsCuwTdQUSXLYkgt9Gvdg/7/qPgQ="
|
CORE_SECRET: "4Q8PrvM8Vwe9yRSRsCuwTdQUSXLYkgt9Gvdg/7/qPgQ="
|
||||||
CORE_PORT: 3001
|
|
||||||
CORE_HOSTNAME: 0.0.0.0
|
CORE_HOSTNAME: 0.0.0.0
|
||||||
DATABASE_URL: postgres://zipline:zipline@postgres:5432/zipline
|
DATABASE_URL: postgres://zipline:zipline@postgres:5432/zipline
|
||||||
DATASOURCE_TYPE: local
|
DATASOURCE_TYPE: local
|
||||||
DATASOURCE_LOCAL_DIRECTORY: /zipline/uploads
|
DATASOURCE_LOCAL_DIRECTORY: /zipline/uploads
|
||||||
ports:
|
|
||||||
- "3001:3001"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- data:/zipline/public
|
- data:/zipline/public
|
||||||
|
|
Loading…
Add table
Reference in a new issue