mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-15 06:16:05 +00:00
Clear and rewrite
Retire the initial setup; history continues from tastyigniter-docker-compose.
This commit is contained in:
1 parent
b840934d09
commit
df94b9f400
6 files changed
-271
No files matched your search
@@ -1,22 +0,0 @@
|
||||
version: '3'
|
||||
services:
|
||||
db:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE}
|
||||
MYSQL_USER: ${MYSQL_USER}
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||
web:
|
||||
depends_on:
|
||||
- db
|
||||
build: .
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
volumes:
|
||||
db-data:
|
||||
Reference in new issue
Block a user