34 lines
617 B
YAML
34 lines
617 B
YAML
version: "3.7"
|
|
services:
|
|
app:
|
|
build:
|
|
context: ./
|
|
dockerfile: Dockerfile
|
|
image: lbry-explorer
|
|
environment:
|
|
- APP_DEBUG=false
|
|
- APP_ENV=production
|
|
container_name: app
|
|
restart: unless-stopped
|
|
working_dir: /var/www/
|
|
volumes:
|
|
- ./:/var/www
|
|
networks:
|
|
- app-network
|
|
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: nginx
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./:/var/www
|
|
- ./nginx/conf.d/:/etc/nginx/conf.d/
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
networks:
|
|
- app-network
|
|
|
|
networks:
|
|
app-network:
|
|
driver: bridge
|