-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
39 lines (37 loc) · 1.01 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
version: "3.3"
services:
marmotteio:
ports:
- 5959:8000
container_name: marmotteio
environment:
- APP_NAME=Marmotte.io
- APP_ENV=local
- APP_DEBUG=true
- APP_URL=http://0.0.0.0:5959
- ASSET_URL=http://0.0.0.0:5959
- APP_KEY=base64:RVvW9+2jO9MpuTDyxmIO45Z9t7BY0VWxgDImBNmhFwA
- DB_CONNECTION=mysql
- DB_HOST=marmotteiodb
- DB_PORT=3306
- DB_DATABASE=marmotteio
- DB_USERNAME=marmotteio
- DB_PASSWORD=marmotteio #change this
volumes:
- marmotteio:/app
image: marmotteio/marmotteio:latest
marmotteiodb:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- marmotteiodb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=marmotteio #change this
- MYSQL_PASSWORD=marmotteio #change this
- MYSQL_DATABASE=marmotteio
- MYSQL_USER=marmotteio
volumes:
marmotteio: {}
marmotteiodb: {}
networks: {}