svg
This commit is contained in:
41
docker-compose.yml
Normal file
41
docker-compose.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb
|
||||
container_name: schedule-mariadb
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: changeme
|
||||
MYSQL_DATABASE: schedule
|
||||
MYSQL_USER: user
|
||||
MYSQL_PASSWORD: changeme
|
||||
volumes:
|
||||
- mariadb-data:/var/lib/mysql
|
||||
|
||||
adminer:
|
||||
image: adminer
|
||||
container_name: schedule-adminer
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 6081:8080
|
||||
|
||||
schedule:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./misc/docker/Dockerfile
|
||||
container_name: schedule
|
||||
image: reg.cadoles.com/envole/schedule
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./src:/app/src:delegated
|
||||
- ./templates:/app/templates:delegated
|
||||
- ./config:/app/config:delegated
|
||||
- ./public/uploads:/app/public/uploads:delegated
|
||||
- ./uploads:/app/uploads:delegated
|
||||
- ./misc:/app/misc:delegated
|
||||
ports:
|
||||
- "8000:80"
|
||||
|
||||
volumes:
|
||||
mariadb-data:
|
Reference in New Issue
Block a user