rvr-nextgen/docker-compose.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

2023-04-08 00:42:55 +02:00
version: '3'
services:
app:
build:
2023-09-28 10:02:55 +02:00
context: .
dockerfile: docker/Dockerfile
target: mapg_dev
depends_on:
mariadb:
condition: service_healthy
2023-04-08 00:42:55 +02:00
ports:
- 80:80
volumes:
- .:/var/www/rvr
2023-09-28 10:02:55 +02:00
working_dir: /var/www/rvr
2023-04-08 00:42:55 +02:00
mariadb:
image: mariadb:10.3
ports:
- 3306:3306
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_DATABASE: 'rvr'
MYSQL_USER: 'rvr'
MYSQL_PASSWORD: 'rvr'
2023-09-28 10:02:55 +02:00
healthcheck:
test: ["CMD-SHELL", "mysqladmin -u $$MYSQL_USER -p$$MYSQL_PASSWORD ping -h localhost || exit 1"]
start_period: 5s
start_interval: 1s
interval: 5s
timeout: 5s
retries: 5
2023-04-16 14:21:19 +02:00
adminer:
image: adminer:4.8.1-standalone
ports:
- 9090:8080
environment:
- ADMINER_DEFAULT_SERVER=mariadb
2023-04-08 00:42:55 +02:00
mail:
image: marcopas/docker-mailslurper:latest
ports:
- 8080:8080
- 8085:8085
volumes:
mysql: