forked from dodeeric/omeka-s-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (47 loc) · 953 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
48
49
50
51
52
version: "3"
services:
mariadb:
image: mariadb:latest
restart: always
networks:
- network1
volumes:
- mariadb:/var/lib/mysql
- ./omeka.sql:/docker-entrypoint-initdb.d/dump.sql
environment:
MYSQL_ROOT_PASSWORD: blabla
MYSQL_DATABASE: omeka
MYSQL_USER: omeka
MYSQL_PASSWORD: omeka
omeka:
depends_on:
- mariadb
- proxy
build: .
restart: always
networks:
- network1
links:
- mariadb:db
volumes:
- omeka:/var/www/html/volume
- $PWD/files:/var/www/html/files
proxy:
restart: unless-stopped
image: staticfloat/nginx-certbot
ports:
- 80:80/tcp
- 443:443/tcp
environment:
CERTBOT_EMAIL: [email protected]
networks:
- network1
volumes:
- ./conf.d:/etc/nginx/user.conf.d:ro
- letsencrypt:/etc/letsencrypt
volumes:
mariadb:
omeka:
letsencrypt:
networks:
network1: