mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
2.x docker
This commit is contained in:
21
docker/docker-compose.yml
Normal file
21
docker/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
services:
|
||||
vito:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: docker/Dockerfile
|
||||
environment:
|
||||
NAME: "vito"
|
||||
EMAIL: "vito@example.com"
|
||||
PASSWORD: "password"
|
||||
APP_KEY: "base64:UodiJrx3DkcMlizmoimNlDn+yd4q5f2VbkBay19rJwM="
|
||||
APP_PORT: 8000
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
ports:
|
||||
- '${APP_PORT:-80}:80'
|
||||
- '${VITE_PORT:-5173}:${VITE_PORT:-5173}'
|
||||
volumes:
|
||||
- "vito-storage:/var/www/html/storage"
|
||||
volumes:
|
||||
vito-storage:
|
||||
driver: local
|
Reference in New Issue
Block a user