first commit
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.env
|
||||
/data
|
||||
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
# Use root/example as user/password credentials
|
||||
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
container_name: mariadb
|
||||
restart: always
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
|
||||
ports:
|
||||
- ${PORT}:3306
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql/
|
||||
# - mariadb_data:/var/lib/mysql/
|
||||
networks:
|
||||
- nginx
|
||||
|
||||
volumes:
|
||||
mariadb_data:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
nginx:
|
||||
driver: bridge
|
||||
external: true
|
||||
Reference in New Issue
Block a user