forked from iFixit/pulldasher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
26 lines (25 loc) · 969 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
version: '2'
services:
web:
build: .
entrypoint: '/opt/pulldasher/entrypoint.sh'
ports:
- 8080:8080 # Map the container's port 8080 to the host's 8080
# NOTE: The host port will need to match
# the callback URL specified in the GitHub
# application setting.
volumes:
- .:/opt/pulldasher # Mount the current directory to /opt/pulldasher
db:
image: "mariadb:latest"
volumes:
- db_data:/var/lib/mysql # Create a persistent volume so that we don't lose data between restarts
environment:
# Please use strong passwords if you are deploying pulldasher in a
# production environment.
MYSQL_ROOT_PASSWORD: pulldasher
MYSQL_DATABASE: pulldasher
MYSQL_USER: pulldasher
MYSQL_PASSWORD: pulldasher
volumes:
db_data: