fix: pass base .env to container
This commit is contained in:
parent
0fc43e8780
commit
8af93f5744
4 changed files with 10 additions and 6 deletions
|
@ -78,6 +78,7 @@ services:
|
|||
volumes:
|
||||
# - /dashboard/node_modules
|
||||
# - /dashboard/.next
|
||||
- ${PWD}/.env:/runtipi/.env
|
||||
- ${PWD}/src:/app/src
|
||||
- ${PWD}/state:/runtipi/state
|
||||
- ${PWD}/repos:/runtipi/repos:ro
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
|
@ -29,7 +29,7 @@ services:
|
|||
POSTGRES_USER: tipi
|
||||
POSTGRES_DB: tipi
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d tipi -U tipi"]
|
||||
test: ['CMD-SHELL', 'pg_isready -d tipi -U tipi']
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 120
|
||||
|
@ -69,6 +69,7 @@ services:
|
|||
ARCHITECTURE: ${ARCHITECTURE}
|
||||
REDIS_HOST: ${REDIS_HOST}
|
||||
volumes:
|
||||
- ${PWD}/.env:/runtipi/.env
|
||||
- ${PWD}/state:/runtipi/state
|
||||
- ${PWD}/repos:/runtipi/repos:ro
|
||||
- ${PWD}/apps:/runtipi/apps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
|
@ -28,7 +28,7 @@ services:
|
|||
POSTGRES_USER: tipi
|
||||
POSTGRES_DB: tipi
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d tipi -U tipi"]
|
||||
test: ['CMD-SHELL', 'pg_isready -d tipi -U tipi']
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 120
|
||||
|
@ -71,6 +71,7 @@ services:
|
|||
ARCHITECTURE: ${ARCHITECTURE}
|
||||
REDIS_HOST: ${REDIS_HOST}
|
||||
volumes:
|
||||
- ${PWD}/.env:/runtipi/.env
|
||||
- ${PWD}/state:/runtipi/state
|
||||
- ${PWD}/repos:/runtipi/repos:ro
|
||||
- ${PWD}/apps:/runtipi/apps
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
|
@ -28,7 +28,7 @@ services:
|
|||
POSTGRES_USER: tipi
|
||||
POSTGRES_DB: tipi
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d tipi -U tipi"]
|
||||
test: ['CMD-SHELL', 'pg_isready -d tipi -U tipi']
|
||||
interval: 5s
|
||||
timeout: 10s
|
||||
retries: 120
|
||||
|
@ -69,6 +69,7 @@ services:
|
|||
ARCHITECTURE: ${ARCHITECTURE}
|
||||
REDIS_HOST: ${REDIS_HOST}
|
||||
volumes:
|
||||
- ${PWD}/.env:/runtipi/.env
|
||||
- ${PWD}/state:/runtipi/state
|
||||
- ${PWD}/repos:/runtipi/repos:ro
|
||||
- ${PWD}/apps:/runtipi/apps
|
||||
|
|
Loading…
Reference in a new issue