diff --git a/docker-compose.yaml b/docker-compose.yaml deleted file mode 100644 index 89be148..0000000 --- a/docker-compose.yaml +++ /dev/null @@ -1,51 +0,0 @@ -services: - frontend: - image: nginx:latest - container_name: zkt_frontend - ports: - - "8080:80" - volumes: - - ./frontend/index.html:/usr/share/nginx/html/index.html:ro - - ./frontend/nginx.conf:/etc/nginx/conf.d/default.conf:ro - depends_on: - - backend - networks: - - zkt_net - restart: on-failure - - backend: - build: ./backend - image: zkt-notes-backend - container_name: zkt_backend - environment: - DB_HOST: db - DB_NAME: notesdb - DB_USER: notesuser - DB_PASSWORD: notessecret - DB_PORT: "5432" - depends_on: - - db - networks: - - zkt_net - restart: on-failure - - db: - image: postgres:16 - container_name: zkt_db - environment: - POSTGRES_DB: notesdb - POSTGRES_USER: notesuser - POSTGRES_PASSWORD: notessecret - volumes: - - zkt_db_data:/var/lib/postgresql/data - networks: - - zkt_net - restart: on-failure - -networks: - zkt_net: - external: true - -volumes: - zkt_db_data: - external: true \ No newline at end of file