File tree 4 files changed +11
-34
lines changed
4 files changed +11
-34
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ scripts/importOldData.py
16
16
scripts /old-data /
17
17
created-users.json
18
18
public /version.json
19
+ mysql
Original file line number Diff line number Diff line change 1
- version : ' 3.9'
2
1
services :
3
- loca7 :
4
- container_name : loca7
5
- env_file :
6
- - .env
2
+ mysql :
3
+ image : mysql
7
4
environment :
8
- DATABASE_URL : postgresql://ewen:root@db:5432/loca7
9
- build : .
5
+ MYSQL_ROOT_PASSWORD : root
6
+ MYSQL_DATABASE : loca7
7
+ MYSQL_USER : loca
8
+ MYSQL_PASSWORD : root
10
9
ports :
11
- - ' 3000:3000'
12
- depends_on : [db]
13
- db :
14
- container_name : db
15
- environment :
16
- POSTGRES_USER : ewen
17
- POSTGRES_PASSWORD : root
18
- POSTGRES_DB : loca7
19
- PGDATA : /data/postgres
20
- image : postgres:latest
21
- volumes :
22
- - postgres:/data/postgres
23
- pgadmin :
24
- container_name : pgadmin
25
- image : dpage/pgadmin4:latest
26
- environment :
27
- PGADMIN_DEFAULT_EMAIL :
[email protected]
28
- PGADMIN_DEFAULT_PASSWORD : root
29
- PGADMIN_LISTEN_PORT : 80
30
- ports :
31
- - 5000:80
32
- depends_on :
33
- - db
10
+ - " 3306:3306"
34
11
volumes :
35
- - pgadmin :/var/lib/pgadmin
12
+ - ./mysql :/var/lib/mysql
36
13
37
14
volumes :
38
- postgres :
39
- pgadmin :
15
+ mysql :
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"private" : true ,
5
5
"scripts" : {
6
- "dev" : " vite dev" ,
6
+ "dev" : " docker compose up -d && vite dev" ,
7
7
"mailhog" : " mailhog -auth-file mailhog/auth -outgoing-smtp mailhog/outgoing.json" ,
8
8
"build" : " vite build" ,
9
9
"preview" : " vite preview" ,
You can’t perform that action at this time.
0 commit comments