5 changed files with 32 additions and 1 deletions
@ -1,3 +1,9 @@ |
|||
NODE_ENV=development |
|||
# https://www.bookstack.cn/read/hapijs-zh/2f6997ac6d3fb529.md |
|||
KEY = dsRhw1Y5UZqB8SjfClbkrX9PF7yuDMV3JItcW0G4vgpaxONo6mzenHLQET2AiKyPUjjdDko10amjPaba |
|||
# SQLITE_PATH=/usr/src/app/data/data.db |
|||
MYSQL_HOST=localhost |
|||
MYSQL_PORT=3306 |
|||
MYSQL_USER=myuser |
|||
MYSQL_PASSWORD=mypassword |
|||
MYSQL_DATABASE=mydatabase |
@ -1,3 +1,9 @@ |
|||
NODE_ENV=production |
|||
# https://www.bookstack.cn/read/hapijs-zh/2f6997ac6d3fb529.md |
|||
KEY = dsRhw1Y5UZqB8SjfClbkrX9PF7yuDMV3JItcW0G4vgpaxONo6mzenHLQET2AiKyPUjjdDko10amjPaba |
|||
# SQLITE_PATH=/usr/src/app/data/data.db |
|||
MYSQL_HOST=localhost |
|||
MYSQL_PORT=3306 |
|||
MYSQL_USER=myuser |
|||
MYSQL_PASSWORD=mypassword |
|||
MYSQL_DATABASE=mydatabase |
@ -0,0 +1,18 @@ |
|||
version: '3' |
|||
services: |
|||
app: |
|||
build: . |
|||
ports: |
|||
- "3388:3388" |
|||
environment: |
|||
NODE_ENV: production |
|||
SQLITE_PATH: /usr/src/app/data/data.db |
|||
KEY: dsRhw1Y5UZqB8SjfClbkrX9PF7yuDMV3JItcW0G4vgpaxONo6mzenHLQET2AiKyPUjjdDko10amjPaba |
|||
MYSQL_HOST: localhost |
|||
MYSQL_PORT: 3306 |
|||
MYSQL_USER: myuser |
|||
MYSQL_PASSWORD: mypassword |
|||
MYSQL_DATABASE: mydatabase |
|||
volumes: |
|||
- ./logs:/usr/src/app/logs |
|||
- ./data:/usr/src/app/data |
Loading…
Reference in new issue