first real comit
This commit is contained in:
58
docker-compose.yaml
Normal file
58
docker-compose.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
restart: always
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
directus:
|
||||
container_name: directus
|
||||
image: directus/directus:latest
|
||||
ports:
|
||||
- 8055:8055
|
||||
volumes:
|
||||
# By default, Directus images writes uploads to /directus/uploads
|
||||
# Always make sure your volumes matches the storage root when using
|
||||
# local driver
|
||||
- ./uploads:/directus/uploads
|
||||
# Make sure to also mount the volume When using SQLite
|
||||
# - ./database:/directus/database
|
||||
# If you want to load extensions from the host
|
||||
# - ./extensions:/directus/extensions
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
KEY: '255d861b-5ea1-5996-9aa3-922530ec40b1'
|
||||
SECRET: '6116487b-cda1-52c2-b5b5-c8022c45e263'
|
||||
|
||||
DB_CLIENT: 'mysql'
|
||||
DB_HOST: '192.168.178.110'
|
||||
DB_PORT: '3306'
|
||||
DB_DATABASE: 'frise'
|
||||
DB_USER: 'root'
|
||||
DB_PASSWORD: 'example'
|
||||
|
||||
ADMIN_EMAIL: 'admin@example.com'
|
||||
ADMIN_PASSWORD: 'd1r3ctu5'
|
||||
web:
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "81:81"
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/nginx.conf
|
||||
- ./app:/app
|
||||
php:
|
||||
build: .
|
||||
volumes:
|
||||
- ./app:/app
|
||||
Reference in New Issue
Block a user