-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (43 loc) · 1021 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
40
41
42
43
44
45
46
47
version: "3"
networks:
default:
documize:
services:
app:
build:
context: .
args:
version: 1.76.2
image: documize
environment:
DOCUMIZEDBTYPE: "mariadb"
DOCUMIZEDB: "root:password@tcp(mariadb:3306)/documize"
# DOCUMIZEDBTYPE: "postgresql"
# DOCUMIZEDB: "host=postgres port=5432 dbname=documize user=documize password=documize sslmode=disable"
DOCUMIZESALT: "iepuu1OhBie2ieneequ6ushohLo8pieh"
DOCUMIZEPORT: 8080
networks:
- documize
- default
ports:
- 8080:8080
depends_on:
- mariadb
# - postgres
mariadb:
image: mariadb
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
restart: always
networks:
- documize
environment:
MYSQL_DATABASE: documize
MYSQL_ROOT_PASSWORD: password
# postgres:
# image: postgres:11-alpine
# restart: always
# environment:
# POSTGRES_USER: documize
# POSTGRES_PASSWORD: documize
# networks:
# - default