mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
Adjusting environment variables and adding .env.example
This commit is contained in:
6
.env.example
Normal file
6
.env.example
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
MYSQL_ROOT_PASSWORD=strongpassword
|
||||||
|
MYSQL_DATABASE=whaticket
|
||||||
|
JWT_SECRET=3123123213123
|
||||||
|
JWT_REFRESH_SECRET=75756756756
|
||||||
|
FRONTEND_PORT=3000
|
||||||
|
TZ=America/Fortaleza
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
.docker/data/
|
.docker/data/
|
||||||
|
.env
|
||||||
@@ -17,14 +17,12 @@ services:
|
|||||||
- JWT_SECRET=${JWT_SECRET:-3123123213123}
|
- JWT_SECRET=${JWT_SECRET:-3123123213123}
|
||||||
- JWT_REFRESH_SECRET=${JWT_REFRESH_SECRET:-75756756756}
|
- JWT_REFRESH_SECRET=${JWT_REFRESH_SECRET:-75756756756}
|
||||||
- CHROME_WS=ws://chrome:3000
|
- CHROME_WS=ws://chrome:3000
|
||||||
ports:
|
|
||||||
- 8080:3000
|
|
||||||
networks:
|
networks:
|
||||||
- whaticket
|
- whaticket
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
ports:
|
ports:
|
||||||
- 3000:80
|
- ${FRONTEND_PORT:-3000}:80
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
dockerfile: ./Dockerfile
|
dockerfile: ./Dockerfile
|
||||||
@@ -36,8 +34,6 @@ services:
|
|||||||
mysql:
|
mysql:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
|
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_bin
|
||||||
ports:
|
|
||||||
- 3306:3306
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./.docker/data/:/var/lib/mysql
|
- ./.docker/data/:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user