forked from GovernoRegionalAcores/collectiveaccess
-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
39 lines (37 loc) · 855 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.7"
services:
db:
image: mysql:5.7
volumes:
- db-data:/var/lib/mysql
environment:
- MYSQL_DATABASE=collective
- MYSQL_ROOT_PASSWORD=rootpass
- MYSQL_USER=user
- MYSQL_PASSWORD=pass
expose:
- "3306"
ports:
- "3306:3306"
backend:
image: collective:latest
environment:
- DB_HOST=db
- DB_NAME=collective
- DB_ROOT_PASSWORD=rootpass
- DB_USER=user
- DB_PASSWORD=pass
- DISPLAY_NAME=My Archive # optional
- ADMIN_EMAIL=admin@my-archive.tld # optional
- SMTP_SERVER=mail.my-archive.tld # optional
volumes:
- backend-config:/var/www/providence/app/conf
- backend-media:/var/www/providence/media/
depends_on:
- db
ports:
- "8080:80"
volumes:
db-data:
backend-config:
backend-media: