-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 987 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
version: '3'
services:
web:
build:
context: .
target: web
image: ghcr.io/scientist-softserv/atla-omeka:${TAG:-latest}
env_file:
- .env
environment:
- DB_HOST=${DB_HOST}
- DB_NAME=${DB_NAME}
- DB_PASSWORD=${DB_PASSWORD}
- DB_PORT=${DB_PORT}
- DB_USERNAME=${DB_USERNAME}
volumes:
- ./:/var/www/html
ports:
- 80:80
depends_on:
- mariadb
db_admin:
image: phpmyadmin/phpmyadmin
platform: linux/amd64
ports:
- 8080:80
env_file:
- .env
environment:
- PMA_HOST=${DB_HOST}
- PMA_PORT=${DB_PORT}
depends_on:
- mariadb
mariadb:
image: mariadb:latest
env_file:
- .env
environment:
- MYSQL_DATABASE=${DB_NAME}
- MYSQL_PASSWORD=${DB_PASSWORD}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_USER=${DB_USERNAME}
volumes:
- db_data:/var/lib/mysql
volumes:
db_data:
omeka-exhibitions: