fix: fix the zipline container's restart loop
This commit is contained in:
parent
351a3ad799
commit
ceea6b5f8a
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,13 @@
|
||||||
version: "3"
|
|
||||||
services:
|
services:
|
||||||
devcontainer:
|
devcontainer:
|
||||||
container_name: devcontainer
|
container_name: devcontainer
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: .devcontainer/Dockerfile
|
dockerfile: .devcontainer/Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ../..:/workspace:cached
|
||||||
|
network_mode: service:zipline
|
||||||
|
command: sleep infinity
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
container_name: zipline-database
|
container_name: zipline-database
|
||||||
|
@ -26,7 +29,7 @@ services:
|
||||||
container_name: zipline
|
container_name: zipline
|
||||||
image: ghcr.io/diced/zipline:v4
|
image: ghcr.io/diced/zipline:v4
|
||||||
environment:
|
environment:
|
||||||
CORE_SECRET: "secret"
|
CORE_SECRET: "4Q8PrvM8Vwe9yRSRsCuwTdQUSXLYkgt9Gvdg/7/qPgQ="
|
||||||
CORE_PORT: 3001
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue