forked from apioo/fusio-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (64 loc) · 1.77 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3'
services:
# Fusio container
fusio:
image: fusio/fusio
restart: always
environment:
FUSIO_TENANT_ID: ""
FUSIO_PROJECT_KEY: "42eec18ffdbffc9fda6110dcc705d6ce"
FUSIO_URL: "http://api.fusio.cloud:8080"
FUSIO_APPS_URL: "http://api.fusio.cloud:8080/apps"
FUSIO_ENV: "prod"
FUSIO_DEBUG: "false"
FUSIO_CONNECTION: "pdo-mysql://fusio:61ad6c605975@mysql-fusio/fusio"
FUSIO_BACKEND_USER: "test"
FUSIO_BACKEND_EMAIL: "[email protected]"
FUSIO_BACKEND_PW: "test1234"
FUSIO_MAILER: "native://default"
FUSIO_MESSENGER: "doctrine://default"
FUSIO_MAIL_SENDER: "[email protected]"
FUSIO_WORKER_JAVA: "worker-java:9090"
FUSIO_WORKER_JAVASCRIPT: "worker-javascript:9091"
FUSIO_WORKER_PHP: "worker-php:9092"
FUSIO_WORKER_PYTHON: "worker-python:9093"
links:
- mysql-fusio
- worker-java
- worker-javascript
- worker-php
- worker-python
ports:
- "8080:80"
# Fusio system database
mysql-fusio:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: "61ad6c605975"
MYSQL_USER: "fusio"
MYSQL_PASSWORD: "61ad6c605975"
MYSQL_DATABASE: "fusio"
volumes:
- ./db:/var/lib/mysql
# Worker
worker-java:
image: fusio/worker-java:2.0
restart: always
volumes:
- ./worker/java:/worker/actions
worker-javascript:
image: fusio/worker-javascript:2.0
restart: always
volumes:
- ./worker/javascript:/worker/actions
worker-php:
image: fusio/worker-php:2.1
restart: always
volumes:
- ./worker/php:/var/www/html/worker/actions
worker-python:
image: fusio/worker-python:2.0
restart: always
volumes:
- ./worker/python:/worker/actions