can someone port my docker-compose to a proper one for use with resin?
yaml is on the same folder as laravel project and contains an nginx.conf file
i prefer to use only docker-compose and not Dockerfiles with no specific reason
here is my yaml:
version: '3.2' services: web: image: nginx:mainline-alpine ports: - "8080:80" volumes: - type: bind source: . target: /project - type: bind source: ./nginx.conf target: /etc/nginx/conf.d/default.conf links: - php php: image: php:7-fpm-alpine volumes: - type: bind source: . target: /project links: - db db: image: mariadb:latest environment: MYSQL_ROOT_PASSWORD: rootpass MYSQL_DATABASE: dbname MYSQL_USER: dbuser MYSQL_PASSWORD: dbpass
it works on a debian base docker host
Thanks in advance