You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
631 B

version: '3.8'
services:
marketing-site:
build:
context: .
dockerfile: Dockerfile
expose:
- "3000"
environment:
- NODE_ENV=production
restart: unless-stopped
container_name: marketing-site-https
networks:
- app-network
nginx:
image: nginx:alpine
container_name: nginx-https
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./ssl:/etc/nginx/ssl:ro
depends_on:
- marketing-site
restart: unless-stopped
networks:
- app-network
networks:
app-network:
driver: bridge