Untitled

mail@pastecode.io avatar
unknown
plain_text
19 days ago
809 B
2
Indexable
Never
cat ../../docker-compose.yml
version: '3.8'
services:
  backend:
    build:
      context: ./Livroclic
    ports:
      - 3000:3000
    networks:
      - mynetwork
    volumes:
      - /etc/letsencrypt/live/www.livroclic.com/fullchain.pem:/usr/src/app/certs/fullchain.pem
      - /etc/letsencrypt/live/www.livroclic.com/privkey.pem:/usr/src/app/certs/privkey.pem
      - /home/ubuntu/Livroclic/files/:/usr/src/app/files

  frontend:
    build:
      context: ./Livroclic-Front
    ports:
      - 443:443
    networks:
      - mynetwork

    volumes:
      - /etc/letsencrypt/live/www.livroclic.com/fullchain.pem:/etc/ssl/certs/fullchain.pem:ro
      - /etc/letsencrypt/live/www.livroclic.com/privkey.pem:/etc/ssl/private/privkey.pem:ro

networks:
  mynetwork:
    driver: bridge
Leave a Comment