apt-cache rdepends package_name
version: "3"
services:
my-app:
image: my-app
ports:
- 3000:3000
volumes:
- dist:/web/dist
networks:
- app-network
nginx:
image: nginx
depends_on:
- my-app
ports:
- 80:80
volumes:
- dist:/usr/share/nginx/html
networks:
- app-network
volumes:
dist:
networks:
app-network:
server {
server_name ~^(www\.)?(?<domain>.+)$;
location / {
root /sites/$domain;
}
}
volumes:
- ./build:/usr/src/app
- /var/www/app/build/public/data:/usr/src/app/build/public/data
deb [arch=amd64] https://download.docker.com/linux/ubuntu artful stable