Skip to content

Commit

Permalink
added tugboat config file for initial testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lbailey-ucsf committed Jul 11, 2024
1 parent 4de585b commit 16e776f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
services:
webserver:
image: "moodlehq/moodle-php-apache:${MOODLE_DOCKER_PHP_VERSION}"
#image: "tugboatqa/php:8-apache"
default: true
depends_on:
- db
environment:
MOODLE_DOCKER_RUNNING: 1
MOODLE_DOCKER_DBNAME: moodle
MOODLE_DOCKER_DBUSER: moodle
MOODLE_DOCKER_DBPASS: "m@0dl3ing"
MOODLE_DOCKER_BROWSER: firefox
commands:
init:
- ln -snf "$TUGBOAT_ROOT/moodle" "${DOCROOT}"
update:

db:
#image: "tugboatqa/mariadb:10.7"
image: "mariadb:${MOODLE_DOCKER_DB_VERSION:-10.7}""
command: >
--character-set-server=utf8mb4
--collation-server=utf8mb4_bin
--innodb_file_per_table=On
--wait-timeout=28800
--skip-log-bin
environment:
MYSQL_ROOT_PASSWORD: "m@0dl3ing"
MYSQL_DATABASE: "moodle"
MYSQL_USER: "moodle"
MYSQL_PASSWORD: "m@0dl3ing"
ports:
- "${MOODLE_DOCKER_DB_PORT}:3306/tcp"

0 comments on commit 16e776f

Please sign in to comment.