Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
version: "3.1"
services:
mysql:
image: mysql:8.0
container_name: halcyon-mysql
restart: unless-stopped
working_dir: /var/www/html
environment:
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
- MYSQL_DATABASE=${DB_DATABASE}
- MYSQL_USER=${DB_USERNAME}
- MYSQL_PASSWORD=${DB_PASSWORD}
ports:
- "8082:3306"
volumes:
- ./storage/dump:/docker-entrypoint-initdb.d
- ./storage/mysql:/var/lib/mysql
- .:/var/www/html
networks:
- halcyon
webserver:
image: nginx:alpine
container_name: halcyon-webserver
restart: unless-stopped
working_dir: /var/www/html
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
- ./storage/logs:/var/log/nginx
- .:/var/www/html
- ./storage/app/public:/var/www/html/public/files
ports:
- "80:80"
networks:
- halcyon
php-fpm:
build:
context: ./docker/php-fpm
image: halcyon/phpfpm:latest
container_name: halcyon-php-fpm
restart: unless-stopped
working_dir: /var/www/html
volumes:
- .:/var/www/html
- ./docker/php-fpm/php-ini-overrides.ini:/etc/php7.3/fpm/conf.d/99-overrides.ini
- ./storage/app/public:/var/www/html/public/files
networks:
- halcyon
node:
build:
context: ./docker/node
image: halcyon/node:latest
volumes:
- .:/var/www/html
networks:
- halcyon
# redis:
# image: redis:alpine
# container_name: redis
# restart: unless-stopped
# ports:
# - 6379:6379
# networks:
# - halcyon
# mailhog:
# image: mailhog/mailhog:latest
# container_name: mailhog
# ports:
# - 1025:1025
# - 8025:8025
# networks:
# - halcyon
networks:
halcyon: