tracks/test-envs/docker-compose-3.0-sqlite.yml

18 lines
491 B
YAML
Raw Normal View History

2020-08-26 00:38:06 +03:00
version: '3'
services:
web:
build:
context: ..
2024-06-06 10:46:36 +03:00
dockerfile: Dockerfile-3.0
2020-08-26 00:38:06 +03:00
environment:
# These are set in script/ci-build, so we need to pass-thru them.
RAILS_ENV: $RAILS_ENV
2022-01-03 12:21:42 +02:00
DATABASE_NAME: "/app/db.sqlite"
DATABASE_TYPE: sqlite3
2020-08-26 00:38:06 +03:00
volumes:
- ${VOLUME:-..}:/app:Z
- ${VOLUME:-..}/config/database.docker.yml:/app/config/database.yml:Z
- ${VOLUME:-..}/config/site.docker.yml:/app/config/site.yml:Z
ports:
- 3000:3000