diff --git a/docker-compose.arm.yml b/docker-compose.arm.yml index 2a2caf6..cf26964 100644 --- a/docker-compose.arm.yml +++ b/docker-compose.arm.yml @@ -2,11 +2,12 @@ version: '3' services: postgres: image: postgres - environment: + restart: always + environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DATABASE=postgres - volumes: + volumes: - pg_data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 071ebfd..1e7de67 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -2,11 +2,12 @@ version: '3' services: postgres: image: postgres - environment: + restart: always + environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DATABASE=postgres - volumes: + volumes: - pg_data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] @@ -21,7 +22,7 @@ services: ports: - '3000:3000' restart: unless-stopped - environment: + environment: - SECURE=false - SECRET=changethis - HOST=0.0.0.0 diff --git a/docker-compose.yml b/docker-compose.yml index 2fe3fef..1a28c50 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,11 +2,12 @@ version: '3' services: postgres: image: postgres - environment: + restart: always + environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DATABASE=postgres - volumes: + volumes: - pg_data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U postgres'] @@ -18,8 +19,8 @@ services: image: ghcr.io/diced/zipline/zipline:trunk ports: - '3000:3000' - restart: unless-stopped - environment: + restart: always + environment: - SECURE=false - SECRET=changethis - HOST=0.0.0.0