hallelujah: ✨ it's back, that's all that matters
This commit is contained in:
parent
4575ca9bfc
commit
54a16cc77e
23 changed files with 1382 additions and 8 deletions
26
docker_dev/compose.yaml
Normal file
26
docker_dev/compose.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
services:
|
||||
app:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: docker_dev/Dockerfile
|
||||
ports:
|
||||
- 8081:80
|
||||
develop:
|
||||
watch:
|
||||
- path: ./
|
||||
action: rebuild
|
||||
- path: ../.
|
||||
action: sync
|
||||
target: /usr/local/apache2/htdocs/
|
||||
mysql:
|
||||
image: mysql:8.0-debian
|
||||
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
|
||||
# (this is just an example, not intended to be a production configuration)
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: example
|
||||
volumes:
|
||||
- sqlvolume:/var/lib/mysql
|
||||
volumes:
|
||||
sqlvolume: {}
|
Loading…
Add table
Add a link
Reference in a new issue