Attempt deploy
This commit is contained in:
28
docker-compose.prod.yml
Normal file
28
docker-compose.prod.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
version: '3.9'
|
||||
services:
|
||||
app:
|
||||
image: git.oskarmikael.com/oskarb/scheduler:latest
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- storage:/var/www/html/storage
|
||||
- bootstrap_cache:/var/www/html/bootstrap/cache
|
||||
|
||||
nginx:
|
||||
image: nginx:1.27
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
ports:
|
||||
- '${APP_PORT:-80}:80'
|
||||
depends_on:
|
||||
- app
|
||||
networks:
|
||||
- laravel
|
||||
|
||||
networks:
|
||||
laravel:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
storage:
|
||||
bootstrap_cache:
|
||||
Reference in New Issue
Block a user