mirror of
https://github.com/wallabag/docker.git
synced 2025-12-24 12:48:18 +01:00
added travis testing
travis builds and spins up containers for sqlite, mariadb and postgres and runs a simple python test script for accessing the wallabag.
This commit is contained in:
17
tests/docker-compose.sqlite.yml
Normal file
17
tests/docker-compose.sqlite.yml
Normal file
@ -0,0 +1,17 @@
|
||||
version: '2'
|
||||
services:
|
||||
wallabag:
|
||||
build:
|
||||
context: ../
|
||||
image: wallabag:sqlite
|
||||
container_name: wallabag
|
||||
environment:
|
||||
- SYMFONY__ENV__DATABASE_DRIVER=pdo_sqlite
|
||||
- SYMFONY__ENV__DATABASE_HOST=127.0.0.1
|
||||
- SYMFONY__ENV__DATABASE_PORT=~
|
||||
- SYMFONY__ENV__DATABASE_NAME=symfony
|
||||
- SYMFONY__ENV__DATABASE_USER=root
|
||||
- SYMFONY__ENV_DATABASE_PASSWORD=~
|
||||
- SYMFONY__ENV__SECRET=F00B4R
|
||||
ports:
|
||||
- "127.0.0.1:80:80"
|
||||
Reference in New Issue
Block a user