forked from Nixius/template
29 lines
697 B
YAML
29 lines
697 B
YAML
# Development configuration for local testing
|
|
services:
|
|
template:
|
|
build:
|
|
context: ./docker/easy-appointments
|
|
dockerfile: Dockerfile.staging
|
|
image: template:dev
|
|
environment:
|
|
BASE_URL: "http://localhost"
|
|
DEBUG_MODE: "TRUE"
|
|
DB_HOST: "mariadb"
|
|
DB_NAME: "easyappointments"
|
|
DB_USERNAME: "root"
|
|
DB_PASSWORD: "secret"
|
|
volumes:
|
|
- ./docker/easy-appointments/src:/scratch
|
|
- ./temp:/temp
|
|
networks:
|
|
- dev_network
|
|
ports:
|
|
- "8080:80"
|
|
|
|
mariadb:
|
|
build:
|
|
context: ./docker/mariadb
|
|
dockerfile: Dockerfile.staging
|
|
image: git.nixc.us/nixius/template:staging-mariadb
|
|
networks:
|
|
- dev_network |