ndlrx / hakase-labs Goto Github PK
View Code? Open in Web Editor NEWLearn and Share..
Learn and Share..
I just tried, but found the error nginx as follows
$ docker-compose ps
Name Command State Ports
-------------------------------------------------------------------------------------------
lempcompose_mysql_1 docker-entrypoint.sh mysqld Up 0.0.0.0:3306->3306/tcp
lempcompose_nginx_1 /app-entrypoint.sh nginx - ... Exit 1
lempcompose_phpfpm_1 php-fpm -F --pid /opt/bitn ... Up 0.0.0.0:9000->9000/tcp
lempcompose_phpmyadmin_1 /run.sh phpmyadmin Up 0.0.0.0:8080->80/tcp
Below all file docker-compose.yml
i have tried with ./public:/app
and replace your app.conf to new dir location.
Follow new document bitnami/nginx
`nginx:
image: 'bitnami/nginx'
ports:
- '5194:8080'
links:
- phpfpm
volumes:
- ./logs/access.log:/opt/bitnami/nginx/logs/myapp-access.log
- ./logs/error.log:/opt/bitnami/nginx/logs/myapp-error.log
- ./nginx/app.conf:/opt/bitnami/nginx/conf/server_blocks/app.conf
- ./public:/app
phpfpm:
image: 'bitnami/php-fpm'
ports:
- '9000:9000'
volumes:
- ./public:/app
mysql:
image: 'mariadb'
ports:
- '3306:3306'
volumes:
- ./db-data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=hakase-labs123
phpmyadmin:
image: 'phpmyadmin/phpmyadmin'
restart: always
ports:
- '8080:80'
links:
- mysql:mysql
environment:
MYSQL_USERNAME: root
MYSQL_ROOT_PASSWORD: hakase-labs123
PMA_HOST: mysql
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.