Simple website with some JavaScript games.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
695 B

version: '3'
# how to access sql when running -- used to import database into docker container
# mysql --port=3306 --host=127.0.0.1 -u root --password=password
services:
clubdb:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
volumes:
- "./db:/var/lib/mysql"
ports:
- "3306:3306"
# Php-fpm configuration
php:
build: ./php_docker/
volumes:
- .:/app/public
links:
- clubdb
web:
build: .
ports:
- "8080:80"
volumes:
- .:/app/public
links:
- php
- clubdb
depends_on:
- php
- clubdb