forked from KartulUdus/PoracleJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 954 Bytes
/
docker-compose.yml
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
version: '3.1'
services:
poracle:
image: kartuludus/poracle:develop
container_name: poracle
restart: unless-stopped
tty: true
env_file:
- .env
environment:
DB_HOST: poracle-db
DB_USER: poracleuser
DB_PASSWORD: YourStrongPassw0rd!
DB_DATABASE: poracledb
HOST: 0.0.0.0
ports:
- 3030:3030
volumes:
- ./config/:/PoracleJS/config/
depends_on:
- poracle-db
poracle-db:
image: mysql:latest
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password
container_name: poracle-db
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: YourStrongRootPassw0rd!
MYSQL_DATABASE: poracledb
MYSQL_USER: poracleuser
MYSQL_PASSWORD: YourStrongPassw0rd!
ports:
- 3306:3306
volumes:
- data:/var/lib/mysql
volumes:
data:
driver: local