-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
34 lines (34 loc) · 950 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
version: "3"
name: galaxyharvester
services:
app:
container_name: galaxyharvester-app
ports:
- "8888:80"
build:
dockerfile: ./Dockerfile
links:
- "db"
develop:
watch:
- action: sync
path: ./html
target: /var/www/html
db:
container_name: galaxyharvester-db
image: mysql:5.7.11
restart: always
environment:
MYSQL_ROOT_PASSWORD: 'password'
ports:
- '3305:3306'
expose:
- '3306'
volumes:
- ./.docker/docker-entrypoint-initdb.d/00-create-webusr-users.sql:/docker-entrypoint-initdb.d/00-create-webusr-users.sql
- ./database/createSWGresourcedb.sql:/docker-entrypoint-initdb.d/01-create-database.sql
- ./.docker/docker-entrypoint-initdb.d/02-grant-webusr-global.sql:/docker-entrypoint-initdb.d/02-grant-webusr-global.sql
- ./database/seedData:/var/www/database/seedData
- db:/var/lib/mysql
volumes:
db: