README.md
Rendering markdown...
version: "3.8"
services:
nuxt:
build:
context: ./nuxt-app
container_name: nuxt-app
restart: always
expose:
- "3000"
networks:
- nuxt-net
nuxt-nginx:
image: nginx:1.25-alpine
container_name: nuxt-nginx
ports:
- "80:80"
volumes:
- ./nuxt-nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- nuxt
- exploit
networks:
- nuxt-net
command: /bin/sh -c "sleep 5 && nginx -g 'daemon off;'"
exploit:
build:
context: ./exploit
container_name: exploit
restart: always
expose:
- "5000"
networks:
- nuxt-net
networks:
nuxt-net:
driver: bridge