forked from c1ydehhx/FastShop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 767 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 767 Bytes
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
version: "3.8"
services:
mariadb:
image: mariadb:latest
container_name: mariadb
restart: always
environment:
MYSQL_USER: fsa
MYSQL_PASSWORD: "@fsa2022"
MYSQL_DATABASE: fastshop
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: "#fsr2022"
ports:
- "3306:3306"
mariadb-test:
image: mariadb:latest
container_name: mariadb-test
restart: always
environment:
MYSQL_USER: fsta # t refers to test
MYSQL_PASSWORD: "@fsta2022"
MYSQL_DATABASE: fastshop-test
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: "#fstr2022"
ports:
- "3307:3306"
fastshop:
build: .
container_name: fastshop
tty: true
depends_on:
- "mariadb"
ports:
- "8080:8080"