feat(compose): mount web-next-auth-data volume + pass CM_AUTH_SECRET
This commit is contained in:
parent
54c47cf7d2
commit
f2facb200f
@ -70,3 +70,5 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
mysql-data:
|
mysql-data:
|
||||||
name: ${CM_DEPLOY_NAME:-cm}-mysql-data
|
name: ${CM_DEPLOY_NAME:-cm}-mysql-data
|
||||||
|
web-next-auth-data:
|
||||||
|
name: ${CM_DEPLOY_NAME:-cm}-web-next-auth-data
|
||||||
|
|||||||
@ -83,7 +83,9 @@ services:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
NEXT_TELEMETRY_DISABLED: "1"
|
NEXT_TELEMETRY_DISABLED: "1"
|
||||||
API_BASE_URL: http://api-server:3000
|
API_BASE_URL: http://api-server:3000
|
||||||
|
CM_AUTH_SECRET: ${CM_AUTH_SECRET}
|
||||||
volumes:
|
volumes:
|
||||||
|
- web-next-auth-data:/data/auth
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
@ -128,3 +130,7 @@ networks:
|
|||||||
bot-network:
|
bot-network:
|
||||||
name: ${CM_DEPLOY_NAME:-cm}-network
|
name: ${CM_DEPLOY_NAME:-cm}-network
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
web-next-auth-data:
|
||||||
|
name: ${CM_DEPLOY_NAME:-cm}-web-next-auth-data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user