Add docker-compose.production.yaml for production deployment
Signed-off-by: Andrea Pavone <info@andreapavone.com>
This commit is contained in:
11
docker-compose.production.yaml
Normal file
11
docker-compose.production.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# docker-compose.yml
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8000:8000"
|
||||||
|
environment:
|
||||||
|
- APP_ENV=production
|
||||||
|
- DB_CONNECTION=sqlite
|
||||||
@ -6,8 +6,6 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
#volumes:
|
|
||||||
#- .:/var/www/html
|
|
||||||
environment:
|
environment:
|
||||||
- APP_ENV=production
|
- APP_ENV=production
|
||||||
- DB_CONNECTION=sqlite
|
- DB_CONNECTION=sqlite
|
||||||
|
|||||||
Reference in New Issue
Block a user