forked from KartulUdus/PoracleJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.example
33 lines (33 loc) · 1008 Bytes
/
docker-compose.yml.example
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
version: "3.5"
services:
poracle_db:
image: mariadb:10.4
restart: always
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
environment:
MYSQL_ROOT_PASSWORD: poracle_secure_root_database_password
MYSQL_DATABASE: poracle_database
MYSQL_USER: poracle_user
MYSQL_PASSWORD: poracle_secure_database_password
volumes:
- ./poracledb:/var/lib/mysql
poracle:
#build:
# context: .
image: ghcr.io/kartuludus/poraclejs:develop
ports:
- "3030:3030"
depends_on:
- poracle_db
environment:
PORACLE_SERVER_HOST: 0.0.0.0
PORACLE_SERVER_PORT: 3030
PORACLE_DB_TYPE: mysql
PORACLE_DB_HOST: poracle_db
PORACLE_DB_DATABASE: poracle_database
PORACLE_DB_USER: poracle_user
PORACLE_DB_PASSWORD: poracle_secure_database_password
volumes:
- ./config/:/usr/src/app/config/
- ./logs/:/usr/src/app/logs/
- ./.cache/:/usr/src/app/.cache/