-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
41 lines (41 loc) · 945 Bytes
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
roman:
image: big_john
build: ./dockerfiles/ubuntu/
volumes:
- ./misc/hey.txt:/mnt/heytilRoman.txt
tty: true
server:
image: nginx
ports:
- "80:80"
volumes:
- ./misc/hey.txt:/usr/share/nginx/html/index.html
node:
image: node
user: node
working_dir: /home/node/app/
environment:
- NODE_ENV=development
volumes:
- ./:/home/node/app/
ports:
- "5173:5173"
tty: true
mysql:
image: mysql:latest
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_USER=roman
- MYSQL_PASSWORD=roman
- MYSQL_DATABASE=dejlig_db
volumes:
- roman:/var/lib/mysql/
- ./misc/jans_sql_playground:/mnt/jans_sql_playground
- ./misc/jans_sql_query.sql:/mnt/jans_sql_query.sql
- ./misc/jans_sql_script.sql:/mnt/jans_sql_script.sql
volumes:
roman: