added environment files to all containers

This commit is contained in:
naterfute
2025-04-02 17:47:32 -07:00
parent 030132e0f0
commit 32bd26c430

View File

@@ -41,10 +41,8 @@ services:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
environment: environment:
- PGDATA: /var/lib/postgresql/data - PGDATA: /var/lib/postgresql/data
- POSTGRES_USER env_file:
- POSTGRES_PASSWORD - .env
- POSTGRES_DB
web: web:
image: makeplane/plane-space:v0.25.3 image: makeplane/plane-space:v0.25.3
restart: unless-stopped restart: unless-stopped
@@ -55,6 +53,8 @@ services:
depends_on: depends_on:
- api - api
- worker - worker
env_file:
- .env
space: space:
image: makeplane/plane-space:v0.25.3 image: makeplane/plane-space:v0.25.3
@@ -67,6 +67,8 @@ services:
- api - api
- worker - worker
- web - web
env_file:
- .env
admin: admin:
image: makeplane/plane-admin:v0.25.3 image: makeplane/plane-admin:v0.25.3
@@ -79,6 +81,8 @@ services:
- api - api
- worker - worker
- web - web
env_file:
- .env
live: live:
image: makeplane/plane-live:v0.25.3 image: makeplane/plane-live:v0.25.3
@@ -91,6 +95,8 @@ services:
- api - api
- worker - worker
- web - web
env_file:
- .env
api: api:
image: makeplane/plane-backend:v0.25.3 image: makeplane/plane-backend:v0.25.3
@@ -100,10 +106,11 @@ services:
volumes: volumes:
- apiserver:/code - apiserver:/code
command: bin/docker-entrypoint-api-local.sh command: bin/docker-entrypoint-api-local.sh
depends_on: depends_on:
- plane-db - plane-db
- plane-redis - plane-redis
env_file:
- .env
worker: worker:
image: makeplane/plane-worker:0.11 image: makeplane/plane-worker:0.11
@@ -117,6 +124,8 @@ services:
- api - api
- plane-db - plane-db
- plane-redis - plane-redis
env_file:
- .env
beat-worker: beat-worker:
image: makeplane/plane-worker:0.11 image: makeplane/plane-worker:0.11
@@ -130,6 +139,8 @@ services:
- api - api
- plane-db - plane-db
- plane-redis - plane-redis
env_file:
- .env
migrator: migrator:
image: makeplane/plane-worker:0.11 image: makeplane/plane-worker:0.11
@@ -142,6 +153,8 @@ services:
depends_on: depends_on:
- plane-db - plane-db
- plane-redis - plane-redis
env_file:
- .env
volumes: volumes: