2020-05-17 19:29:06 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
app:
|
2021-03-17 23:12:44 +01:00
|
|
|
build:
|
2023-09-16 19:37:29 +02:00
|
|
|
context: .
|
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
target: mapg_dev
|
|
|
|
depends_on:
|
2023-09-16 22:11:42 +02:00
|
|
|
mariadb:
|
|
|
|
condition: service_healthy
|
2020-05-17 19:29:06 +02:00
|
|
|
ports:
|
|
|
|
- 80:80
|
2021-03-17 23:12:44 +01:00
|
|
|
- 5000:5000
|
|
|
|
- 8090:8090
|
|
|
|
- 9229:9229
|
|
|
|
volumes:
|
|
|
|
- .:/var/www/mapguesser
|
2023-09-16 19:37:29 +02:00
|
|
|
working_dir: /var/www/mapguesser
|
2020-05-17 19:29:06 +02:00
|
|
|
mariadb:
|
2020-06-21 16:05:14 +02:00
|
|
|
image: mariadb:10.3
|
2020-06-25 15:30:38 +02:00
|
|
|
ports:
|
|
|
|
- 3306:3306
|
2020-05-17 19:29:06 +02:00
|
|
|
volumes:
|
|
|
|
- mysql:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: 'root'
|
|
|
|
MYSQL_DATABASE: 'mapguesser'
|
|
|
|
MYSQL_USER: 'mapguesser'
|
|
|
|
MYSQL_PASSWORD: 'mapguesser'
|
2023-09-16 22:11:42 +02:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", 'mysqladmin', 'ping', '-h', 'localhost', '-u', '$$MYSQL_USER', '-p$$MYSQL_PASSWORD' ]
|
|
|
|
timeout: 5s
|
|
|
|
retries: 10
|
2023-04-16 17:47:55 +02:00
|
|
|
adminer:
|
|
|
|
image: adminer:4.8.1-standalone
|
|
|
|
ports:
|
|
|
|
- 9090:8080
|
|
|
|
environment:
|
|
|
|
- ADMINER_DEFAULT_SERVER=mariadb
|
2020-06-14 17:14:41 +02:00
|
|
|
mail:
|
|
|
|
image: marcopas/docker-mailslurper:latest
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
- 8085:8085
|
2020-05-17 19:29:06 +02:00
|
|
|
volumes:
|
|
|
|
mysql:
|