diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml new file mode 100644 index 0000000..0c5f7e0 --- /dev/null +++ b/docker-compose-dev.yml @@ -0,0 +1,21 @@ +services: + quay: + build: + context: . + dockerfile: Dockerfile + container_name: quay + env_file: + - .env + ports: + - '8080:4321' + volumes: + - ./config:/config + - ./storage:/storage + restart: unless-stopped + healthcheck: + test: + ['CMD', 'wget', '--no-verbose', '--tries=1', '--spider', 'http://localhost/health'] + interval: 30s + timeout: 10s + retries: 3 + start_period: 40s \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0c5f7e0..f0395cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,6 @@ services: quay: - build: - context: . - dockerfile: Dockerfile + image: kartoffelchipss/quay:latest container_name: quay env_file: - .env