diff --git a/docker-compose.yml b/docker-compose.yml index 2df075e..245a8fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,20 @@ - services: - piggy-bank: + app: container_name: nonograms-app - build: . - restart: unless-stopped - # ports: - # - "8081:80" + build: + context: . + dockerfile: Dockerfile + ports: + - "8081:80" expose: - "80" + restart: unless-stopped + # Uncomment the following lines if you want to mount the configuration locally for development/testing + volumes: + - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro networks: - npm_public networks: npm_public: external: true -