33 lines
633 B
YAML
33 lines
633 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
image: mysql:5
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: mysql_root_password
|
|
MYSQL_DATABASE: plateforme
|
|
MYSQL_USER: plateforme
|
|
MYSQL_PASSWORD: plateforme
|
|
|
|
adminer:
|
|
image: adminer
|
|
restart: always
|
|
ports:
|
|
- 8888:8080
|
|
depends_on:
|
|
- db
|
|
|
|
plateforme:
|
|
build:
|
|
context: .
|
|
ports:
|
|
- 80:80
|
|
depends_on:
|
|
- db
|
|
environment:
|
|
TFJM_DB_HOST: db
|
|
TFJM_DB_USER: plateforme
|
|
TFJM_DB_NAME: plateforme
|
|
TFJM_DB_PASSWORD: plateforme
|